Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libm/noieee_src Fix stupid bug in previous (fixing fmodf)
details: https://anonhg.NetBSD.org/src/rev/25de5d3f69db
branches: trunk
changeset: 791523:25de5d3f69db
user: martin <martin%NetBSD.org@localhost>
date: Fri Nov 22 10:59:31 2013 +0000
description:
Fix stupid bug in previous (fixing fmodf)
diffstat:
lib/libm/noieee_src/n_fmod.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (21 lines):
diff -r a6418f1ff27a -r 25de5d3f69db lib/libm/noieee_src/n_fmod.c
--- a/lib/libm/noieee_src/n_fmod.c Fri Nov 22 04:21:02 2013 +0000
+++ b/lib/libm/noieee_src/n_fmod.c Fri Nov 22 10:59:31 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: n_fmod.c,v 1.6 2013/11/21 10:48:11 martin Exp $ */
+/* $NetBSD: n_fmod.c,v 1.7 2013/11/22 10:59:31 martin Exp $ */
/*
* Copyright (c) 1989, 1993
* The Regents of the University of California. All rights reserved.
@@ -103,9 +103,9 @@
}
float
-fmodf(float x)
+fmodf(float x, float y)
{
- return fmod(x);
+ return fmod(x, y);
}
#ifdef TEST_FMOD
Home |
Main Index |
Thread Index |
Old Index