diff options
author | Karl Williamson <khw@cpan.org> | 2020-07-22 16:22:27 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2020-09-13 21:48:27 -0600 |
commit | b1de2493b5ce238fa84597ffde8bdba7659dbb81 (patch) | |
tree | 3783a8d86dd485993f79755ed58065b0119513c1 /numeric.c | |
parent | ce9aa77f2f9462115cf7095133d7ed2ee773a69f (diff) | |
download | perl-b1de2493b5ce238fa84597ffde8bdba7659dbb81.tar.gz |
Document my_atof
Diffstat (limited to 'numeric.c')
-rw-r--r-- | numeric.c | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -1467,7 +1467,18 @@ S_mulexp10(NV value, I32 exponent) NV Perl_my_atof(pTHX_ const char* s) { - /* 's' must be NUL terminated */ + +/* +=for apidoc my_atof + +L<C<atof>(3)>, but properly works with Perl locale handling, accepting a dot +radix character always, but also the current locale's radix character if and +only if called from within the lexical scope of a Perl C<use locale> statement. + +N.B. C<s> must be NUL terminated. + +=cut +*/ NV x = 0.0; |