summaryrefslogtreecommitdiff
path: root/numeric.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2014-08-29 19:57:39 -0400
committerJarkko Hietaniemi <jhi@iki.fi>2014-08-30 19:21:17 -0400
commit5d34af8920febc1e0e0667bafe14759f8464ea6d (patch)
treea8e124533975341d5bc76a99bc446957c74a91e5 /numeric.c
parent5c7d6202bf7f0485e729dbee16be772bb8cd4b4e (diff)
downloadperl-5d34af8920febc1e0e0667bafe14759f8464ea6d.tar.gz
apidoc for Perl_isinfnan.
Diffstat (limited to 'numeric.c')
-rw-r--r--numeric.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/numeric.c b/numeric.c
index 4b066b2760..8de84915a6 100644
--- a/numeric.c
+++ b/numeric.c
@@ -1324,8 +1324,15 @@ Perl_my_atof2(pTHX_ const char* orig, NV* value)
return (char *)s;
}
-/* Perl_isinfnan() is utility function that returns true if the NV
- * argument is either an infinity or a NaN, false otherwise. */
+/*
+=for apidoc grok_atou
+
+Perl_isinfnan() is utility function that returns true if the NV
+argument is either an infinity or a NaN, false otherwise. To test
+in more detail, use Perl_isinf() and Perl_isnan().
+
+=cut
+*/
bool
Perl_isinfnan(NV nv)
{