Module Name:    src
Committed By:   martin
Date:           Sun Nov 24 18:50:58 UTC 2013

Modified Files:
        src/lib/libm/noieee_src: n_expm1.c

Log Message:
Provide expm1f()


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/lib/libm/noieee_src/n_expm1.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libm/noieee_src/n_expm1.c
diff -u src/lib/libm/noieee_src/n_expm1.c:1.7 src/lib/libm/noieee_src/n_expm1.c:1.8
--- src/lib/libm/noieee_src/n_expm1.c:1.7	Tue Apr 29 15:10:02 2008
+++ src/lib/libm/noieee_src/n_expm1.c	Sun Nov 24 18:50:58 2013
@@ -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 @@ ic(invln2, 1.4426950408889633870E0,     
 #define PREC	53
 #endif	/* defined(__vax__)||defined(tahoe) */
 
+float
+expm1f(float x)
+{
+	return (float)expm1(x);
+}
+
 double
 expm1(double x)
 {

Reply via email to