Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libm/src Fix copy & pasto (make temp variable long double).
details: https://anonhg.NetBSD.org/src/rev/31bcf01fd255
branches: trunk
changeset: 791497:31bcf01fd255
user: martin <martin%NetBSD.org@localhost>
date: Thu Nov 21 13:41:10 2013 +0000
description:
Fix copy & pasto (make temp variable long double).
Fixes fmodl() test failure on sparc64
diffstat:
lib/libm/src/w_fmodl.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r bd8caf6e346b -r 31bcf01fd255 lib/libm/src/w_fmodl.c
--- a/lib/libm/src/w_fmodl.c Thu Nov 21 13:33:15 2013 +0000
+++ b/lib/libm/src/w_fmodl.c Thu Nov 21 13:41:10 2013 +0000
@@ -11,7 +11,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: w_fmodl.c,v 1.3 2013/11/19 14:04:24 joerg Exp $");
+__RCSID("$NetBSD: w_fmodl.c,v 1.4 2013/11/21 13:41:10 martin Exp $");
/*
* wrapper fmodl(x,y)
@@ -33,7 +33,7 @@
#ifdef _IEEE_LIBM
return __ieee754_fmodl(x,y);
#else
- double z;
+ long double z;
z = __ieee754_fmodl(x,y);
if(_LIB_VERSION == _IEEE_ ||isnan(y)||isnan(x)) return z;
if(y==0.0) {
Home |
Main Index |
Thread Index |
Old Index