OSDN Git Service

* mingwex/math/llround.c: Correct function name and
authordannysmith <dannysmith>
Sat, 11 Jan 2003 10:52:19 +0000 (10:52 +0000)
committerdannysmith <dannysmith>
Sat, 11 Jan 2003 10:52:19 +0000 (10:52 +0000)
change return value to long long.

winsup/mingw/ChangeLog
winsup/mingw/mingwex/math/llround.c

index 4b8fb89..5f65876 100644 (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>
 
        * include/ctype.h (__isascii): Don't cast arg to unsigned.
index 8b9fe97..f8fafc4 100644 (file)
@@ -1,9 +1,9 @@
 #include <fenv.h>
 #include <math.h>
 
-long
-lround (double x) {
-  long retval;
+long long
+llround (double x) {
+  long long retval;
   unsigned short saved_cw, _cw;
   __asm__ (
        "fnstcw %0;" : "=m" (saved_cw)