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 modernize.
details: https://anonhg.NetBSD.org/src/rev/fac5249d0ec7
branches: trunk
changeset: 342978:fac5249d0ec7
user: christos <christos%NetBSD.org@localhost>
date: Sat Jan 16 21:31:38 2016 +0000
description:
modernize.
diffstat:
lib/libm/noieee_src/n_fmod.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (21 lines):
diff -r e99fc0688743 -r fac5249d0ec7 lib/libm/noieee_src/n_fmod.c
--- a/lib/libm/noieee_src/n_fmod.c Sat Jan 16 21:29:33 2016 +0000
+++ b/lib/libm/noieee_src/n_fmod.c Sat Jan 16 21:31:38 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: n_fmod.c,v 1.9 2016/01/16 21:29:33 christos Exp $ */
+/* $NetBSD: n_fmod.c,v 1.10 2016/01/16 21:31:38 christos Exp $ */
/*
* Copyright (c) 1989, 1993
* The Regents of the University of California. All rights reserved.
@@ -109,8 +109,9 @@
}
#ifdef TEST_FMOD
-extern long random();
-extern double fmod();
+#include <math.h>
+#include <stdio.h>
+#include <stdlib.h>
#define NTEST 10000
#define NCASES 3
Home |
Main Index |
Thread Index |
Old Index