* mingwex/math/llround.c: Correct function name and
change return value to long long.
This commit is contained in:
parent
c3e8272116
commit
a545b16de6
@ -1,3 +1,8 @@
|
|||||||
|
2003-01-11 Danny Smith <dannysmith@users.sourceforge.net>
|
||||||
|
|
||||||
|
* mingwex/math/llround.c: Correct function name and
|
||||||
|
change return value to long long.
|
||||||
|
|
||||||
2003-01-07 Danny Smith <dannysmith@users.sourceforge.net>
|
2003-01-07 Danny Smith <dannysmith@users.sourceforge.net>
|
||||||
|
|
||||||
* include/ctype.h (__isascii): Don't cast arg to unsigned.
|
* include/ctype.h (__isascii): Don't cast arg to unsigned.
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
#include <fenv.h>
|
#include <fenv.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
||||||
long
|
long long
|
||||||
lround (double x) {
|
llround (double x) {
|
||||||
long retval;
|
long long retval;
|
||||||
unsigned short saved_cw, _cw;
|
unsigned short saved_cw, _cw;
|
||||||
__asm__ (
|
__asm__ (
|
||||||
"fnstcw %0;" : "=m" (saved_cw)
|
"fnstcw %0;" : "=m" (saved_cw)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user