Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/lib/libm Fix wrong type.
details: https://anonhg.NetBSD.org/src/rev/3c2e80a05e37
branches: trunk
changeset: 777650:3c2e80a05e37
user: jruoho <jruoho%NetBSD.org@localhost>
date: Tue Feb 28 06:09:48 2012 +0000
description:
Fix wrong type.
diffstat:
tests/lib/libm/t_atan.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r c367f32df2bc -r 3c2e80a05e37 tests/lib/libm/t_atan.c
--- a/tests/lib/libm/t_atan.c Tue Feb 28 02:48:39 2012 +0000
+++ b/tests/lib/libm/t_atan.c Tue Feb 28 06:09:48 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_atan.c,v 1.1 2011/09/17 18:08:35 jruoho Exp $ */
+B0;259;0c/* $NetBSD: t_atan.c,v 1.2 2012/02/28 06:09:48 jruoho Exp $ */
/*-
* Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -61,7 +61,7 @@
{
#ifndef __vax__
const double x = -1.0L / 0.0L;
- const float eps = 1.0e-40;
+ const double eps = 1.0e-40;
if (fabs(atan(x) + M_PI_2) > eps)
atf_tc_fail_nonfatal("atan(-Inf) != -pi/2");
@@ -78,7 +78,7 @@
{
#ifndef __vax__
const double x = +1.0L / 0.0L;
- const float eps = 1.0e-40;
+ const double eps = 1.0e-40;
if (fabs(atan(x) - M_PI_2) > eps)
atf_tc_fail_nonfatal("atan(+Inf) != pi/2");
Home |
Main Index |
Thread Index |
Old Index