diff options
author | Steve Peters <steve@fisharerojo.org> | 2005-04-15 04:10:54 -0500 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2005-05-03 06:56:03 +0000 |
commit | 0630166f39b2fc31415e8078cd74fafef99606af (patch) | |
tree | bb0d2c7527f44450d12396bb9a75c887a7b08f38 /pp.c | |
parent | c057f5bc3ae09d10fe8e5f8cc5afe4cca331e177 (diff) | |
download | perl-0630166f39b2fc31415e8078cd74fafef99606af.tar.gz |
IEEE math for the masses
Message-ID: <20050415141054.GA12749@mccoy.peters.homeunix.org>
(tests added to t/op/exp.t)
p4raw-id: //depot/perl@24371
Diffstat (limited to 'pp.c')
-rw-r--r-- | pp.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -35,6 +35,14 @@ extern Pid_t getpid (void); #endif +/* + * Some BSDs and Cygwin default to POSIX math instead of IEEE. + * This switches them over to IEEE. + */ +#if defined(LIBM_LIB_VERSION) + _LIB_VERSION_TYPE _LIB_VERSION = _IEEE_; +#endif + /* variations on pp_null */ PP(pp_stub) |