Date: Thu, 16 Apr 2015 21:47:26 +0000 (UTC) From: Garrett Cooper <ngie@FreeBSD.org> To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r281619 - user/ngie/more-tests/contrib/netbsd-tests/lib/libm Message-ID: <201504162147.t3GLlQjt002727@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ngie Date: Thu Apr 16 21:47:25 2015 New Revision: 281619 URL: https://svnweb.freebsd.org/changeset/base/281619 Log: Similar to r281597... the fmodl compat shims on arm/mips/powerpc don't seem to be all there #if 0 the code for now Modified: user/ngie/more-tests/contrib/netbsd-tests/lib/libm/t_fmod.c Modified: user/ngie/more-tests/contrib/netbsd-tests/lib/libm/t_fmod.c ============================================================================== --- user/ngie/more-tests/contrib/netbsd-tests/lib/libm/t_fmod.c Thu Apr 16 21:45:07 2015 (r281618) +++ user/ngie/more-tests/contrib/netbsd-tests/lib/libm/t_fmod.c Thu Apr 16 21:47:25 2015 (r281619) @@ -49,11 +49,15 @@ ATF_TC_BODY(fmod, tc) ATF_CHECK(fmodf(2.0, 0.5) == 0); ATF_CHECK(fmod(2.0, 0.5) == 0); +#if !defined(__FreeBSD__) || LDBL_PREC != 53 ATF_CHECK(fmodl(2.0, 0.5) == 0); +#endif ATF_CHECK(fabsf(fmodf(1.0, 0.1) - 0.1f) <= 55 * FLT_EPSILON); ATF_CHECK(fabs(fmod(1.0, 0.1) - 0.1) <= 55 * DBL_EPSILON); +#if !defined(__FreeBSD__) || LDBL_PREC != 53 ATF_CHECK(fabsl(fmodl(1.0, 0.1L) - 0.1L) <= 55 * LDBL_EPSILON); +#endif } ATF_TP_ADD_TCS(tp)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504162147.t3GLlQjt002727>