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 powl()



details:   https://anonhg.NetBSD.org/src/rev/1d727c8a2094
branches:  trunk
changeset: 791588:1d727c8a2094
user:      martin <martin%NetBSD.org@localhost>
date:      Sun Nov 24 14:46:18 2013 +0000

description:
Provide powl()

diffstat:

 lib/libm/noieee_src/n_pow.c |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 9a63915b161c -r 1d727c8a2094 lib/libm/noieee_src/n_pow.c
--- a/lib/libm/noieee_src/n_pow.c       Sun Nov 24 14:41:53 2013 +0000
+++ b/lib/libm/noieee_src/n_pow.c       Sun Nov 24 14:46:18 2013 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: n_pow.c,v 1.8 2011/11/02 02:34:56 christos Exp $ */
+/*      $NetBSD: n_pow.c,v 1.9 2013/11/24 14:46:18 martin Exp $ */
 /*
  * Copyright (c) 1985, 1993
  *     The Regents of the University of California.  All rights reserved.
@@ -128,6 +128,12 @@
    return pow((double) x, (double) (y));
 }
 
+long double
+powl(long double x, long double y)
+{
+   return pow((double) x, (double) (y));
+}
+
 double
 pow(double x, double y)
 {



Home | Main Index | Thread Index | Old Index