Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libm/complex use long constant



details:   https://anonhg.NetBSD.org/src/rev/0ac3f3f9c50b
branches:  trunk
changeset: 332841:0ac3f3f9c50b
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Oct 10 12:43:15 2014 +0000

description:
use long constant

diffstat:

 lib/libm/complex/catanhl.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (17 lines):

diff -r 3826ad1a8e94 -r 0ac3f3f9c50b lib/libm/complex/catanhl.c
--- a/lib/libm/complex/catanhl.c        Fri Oct 10 12:43:07 2014 +0000
+++ b/lib/libm/complex/catanhl.c        Fri Oct 10 12:43:15 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: catanhl.c,v 1.2 2014/10/10 08:34:30 martin Exp $ */
+/* $NetBSD: catanhl.c,v 1.3 2014/10/10 12:43:15 christos Exp $ */
 
 /*-
  * Copyright (c) 2007 The NetBSD Foundation, Inc.
@@ -37,6 +37,6 @@
 {
        long double complex w;
 
-       w = -1.0 * I * catanl(z * I);
+       w = -1.0L * I * catanl(z * I);
        return w;
 }



Home | Main Index | Thread Index | Old Index