Module Name:    src
Committed By:   martin
Date:           Sun Nov 24 15:16:49 UTC 2013

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

Log Message:
Provide erff() and erfcf().


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/lib/libm/noieee_src/n_erf.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_erf.c
diff -u src/lib/libm/noieee_src/n_erf.c:1.8 src/lib/libm/noieee_src/n_erf.c:1.9
--- src/lib/libm/noieee_src/n_erf.c:1.8	Wed Nov  2 02:34:56 2011
+++ src/lib/libm/noieee_src/n_erf.c	Sun Nov 24 15:16:49 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: n_erf.c,v 1.8 2011/11/02 02:34:56 christos Exp $	*/
+/*	$NetBSD: n_erf.c,v 1.9 2013/11/24 15:16:49 martin Exp $	*/
 /*-
  * Copyright (c) 1992, 1993
  *	The Regents of the University of California.  All rights reserved.
@@ -320,6 +320,12 @@ erf(double x)
 		return (z-one);
 }
 
+float
+erff(float x)
+{
+	return (float)erf(x);
+}
+
 double
 erfc(double x)
 {
@@ -396,3 +402,11 @@ erfc(double x)
 	else
 		return two-r;
 }
+
+float
+erfcf(float x)
+{
+	return (float)erfc(x);
+}
+
+

Reply via email to