Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-6]: src/lib/libm/noieee_src Pull up revision 1.5 (requested by ...
details: https://anonhg.NetBSD.org/src/rev/234839f97cab
branches: netbsd-1-6
changeset: 527943:234839f97cab
user: lukem <lukem%NetBSD.org@localhost>
date: Tue Jun 18 13:37:50 2002 +0000
description:
Pull up revision 1.5 (requested by matt in ticket #286):
Ansify libm noieeesrc (for VAX). Also make const data really const.
libm for VAX can compiles with WARNS=2
diffstat:
lib/libm/noieee_src/n_atan2.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r 8c18223a537d -r 234839f97cab lib/libm/noieee_src/n_atan2.c
--- a/lib/libm/noieee_src/n_atan2.c Tue Jun 18 13:37:40 2002 +0000
+++ b/lib/libm/noieee_src/n_atan2.c Tue Jun 18 13:37:50 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: n_atan2.c,v 1.4 1999/07/02 15:37:36 simonb Exp $ */
+/* $NetBSD: n_atan2.c,v 1.4.10.1 2002/06/18 13:37:50 lukem Exp $ */
/*
* Copyright (c) 1985, 1993
* The Regents of the University of California. All rights reserved.
@@ -110,6 +110,7 @@
* shown.
*/
+#define _LIBM_STATIC
#include "mathimpl.h"
vc(athfhi, 4.6364760900080611433E-1 ,6338,3fed,da7b,2b0d, -1, .ED63382B0DDA7B)
@@ -173,8 +174,8 @@
#define a12 vccast(a12)
#endif
-double atan2(y,x)
-double y,x;
+double
+atan2(double y, double x)
{
static const double zero=0, one=1, small=1.0E-9, big=1.0E18;
double t,z,signy,signx,hi,lo;
Home |
Main Index |
Thread Index |
Old Index