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/316d08da092c
branches:  netbsd-1-6
changeset: 528075:316d08da092c
user:      lukem <lukem%NetBSD.org@localhost>
date:      Mon Jun 24 13:19:31 2002 +0000

description:
Pull up revision 1.5 (requested by matt in ticket #353):
Add cosf/sinf.

diffstat:

 lib/libm/noieee_src/n_sincos.c |  14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)

diffs (32 lines):

diff -r fc98ed0ae93d -r 316d08da092c lib/libm/noieee_src/n_sincos.c
--- a/lib/libm/noieee_src/n_sincos.c    Mon Jun 24 13:18:24 2002 +0000
+++ b/lib/libm/noieee_src/n_sincos.c    Mon Jun 24 13:19:31 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: n_sincos.c,v 1.3.10.1 2002/06/18 13:41:05 lukem Exp $  */
+/*     $NetBSD: n_sincos.c,v 1.3.10.2 2002/06/24 13:19:31 lukem Exp $  */
 /*
  * Copyright (c) 1987, 1993
  *     The Regents of the University of California.  All rights reserved.
@@ -71,6 +71,12 @@
        return x+x*sin__S(x*x);
 }
 
+float
+sinf(float x)
+{
+       return sin(x);
+}
+
 double
 cos(double x)
 {
@@ -100,3 +106,9 @@
        a = (z >= thresh ? __half-((z-__half)-c) : __one-(z-c));
        return copysign(a,s);
 }
+
+float
+cosf(float x)
+{
+       return cos(x);
+}



Home | Main Index | Thread Index | Old Index