* mingwex/math/llround.c: Correct function name and

change return value to long long.
This commit is contained in:
Danny Smith 2003-01-11 10:52:20 +00:00
parent c3e8272116
commit a545b16de6
2 changed files with 8 additions and 3 deletions

View File

@ -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.

View File

@ -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)