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 Provide expm1f()
details: https://anonhg.NetBSD.org/src/rev/9b9344cf67ca
branches: trunk
changeset: 791597:9b9344cf67ca
user: martin <martin%NetBSD.org@localhost>
date: Sun Nov 24 18:50:58 2013 +0000
description:
Provide expm1f()
diffstat:
lib/libm/noieee_src/n_expm1.c | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (22 lines):
diff -r 7e1b2a7a102d -r 9b9344cf67ca lib/libm/noieee_src/n_expm1.c
--- a/lib/libm/noieee_src/n_expm1.c Sun Nov 24 18:02:08 2013 +0000
+++ b/lib/libm/noieee_src/n_expm1.c Sun Nov 24 18:50:58 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: n_expm1.c,v 1.7 2008/04/29 15:10:02 uwe Exp $ */
+/* $NetBSD: n_expm1.c,v 1.8 2013/11/24 18:50:58 martin Exp $ */
/*
* Copyright (c) 1985, 1993
* The Regents of the University of California. All rights reserved.
@@ -111,6 +111,12 @@
#define PREC 53
#endif /* defined(__vax__)||defined(tahoe) */
+float
+expm1f(float x)
+{
+ return (float)expm1(x);
+}
+
double
expm1(double x)
{
Home |
Main Index |
Thread Index |
Old Index