Deleted Added
full compact
t_strtod.c (272458) t_strtod.c (273023)
1/* $NetBSD: t_strtod.c,v 1.31 2012/09/26 07:24:38 jruoho Exp $ */
2
3/*-
4 * Copyright (c) 2011 The NetBSD Foundation, Inc.
5 * All rights reserved.
6 *
7 * This code is derived from software contributed to The NetBSD Foundation
8 * by Jukka Ruohonen.

--- 207 unchanged lines hidden (view full) ---

216{
217#ifndef __vax__
218# ifdef __HAVE_LONG_DOUBLE
219
220 char *end;
221
222 volatile long double ld = strtold(nan_string, &end);
223 ATF_REQUIRE(isnan(ld) != 0);
1/* $NetBSD: t_strtod.c,v 1.31 2012/09/26 07:24:38 jruoho Exp $ */
2
3/*-
4 * Copyright (c) 2011 The NetBSD Foundation, Inc.
5 * All rights reserved.
6 *
7 * This code is derived from software contributed to The NetBSD Foundation
8 * by Jukka Ruohonen.

--- 207 unchanged lines hidden (view full) ---

216{
217#ifndef __vax__
218# ifdef __HAVE_LONG_DOUBLE
219
220 char *end;
221
222 volatile long double ld = strtold(nan_string, &end);
223 ATF_REQUIRE(isnan(ld) != 0);
224#if !defined(__FreeBSD__)
224 ATF_REQUIRE(__isnanl(ld) != 0);
225 ATF_REQUIRE(__isnanl(ld) != 0);
226#endif
225 ATF_REQUIRE(strcmp(end, "y") == 0);
226# else
227 atf_tc_skip("Requires long double support");
228# endif
229#else
230 atf_tc_skip("vax not supported");
231#endif
232}

--- 103 unchanged lines hidden ---
227 ATF_REQUIRE(strcmp(end, "y") == 0);
228# else
229 atf_tc_skip("Requires long double support");
230# endif
231#else
232 atf_tc_skip("vax not supported");
233#endif
234}

--- 103 unchanged lines hidden ---