summaryrefslogtreecommitdiff
path: root/numeric.c
diff options
context:
space:
mode:
authorSteve Peters <steve@fisharerojo.org>2005-10-28 21:09:31 +0000
committerSteve Peters <steve@fisharerojo.org>2005-10-28 21:09:31 +0000
commit7ee2227d70915603ee41631de2babf3bbc5737c4 (patch)
tree46651047245714447d9c72e4ccfc8173989f81c9 /numeric.c
parent6ea79e1700a40a6dac73786dfa0a911a945bcffb (diff)
downloadperl-7ee2227d70915603ee41631de2babf3bbc5737c4.tar.gz
Add a new file, mathoms.c, to hold old code kept around for binary
compatability with previous versions of Perl. Change also includes various Makefile changes to compile the new file and link it into libperl. p4raw-id: //depot/perl@25866
Diffstat (limited to 'numeric.c')
-rw-r--r--numeric.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/numeric.c b/numeric.c
index 0f353cffe8..77e10e330c 100644
--- a/numeric.c
+++ b/numeric.c
@@ -100,22 +100,6 @@ Perl_cast_uv(pTHX_ NV f)
return f > 0 ? UV_MAX : 0 /* NaN */;
}
-#if defined(HUGE_VAL) || (defined(USE_LONG_DOUBLE) && defined(HUGE_VALL))
-/*
- * This hack is to force load of "huge" support from libm.a
- * So it is in perl for (say) POSIX to use.
- * Needed for SunOS with Sun's 'acc' for example.
- */
-NV
-Perl_huge(void)
-{
-# if defined(USE_LONG_DOUBLE) && defined(HUGE_VALL)
- return HUGE_VALL;
-# endif
- return HUGE_VAL;
-}
-#endif
-
/*
=for apidoc grok_bin