diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2014-08-27 07:45:00 -0400 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2014-08-27 18:21:40 -0400 |
commit | 1cd88304d705aae8d2b32c6e925fedd52980a122 (patch) | |
tree | c763a9bd4606e0f77650aaa19d17f16f86b4609f /embed.fnc | |
parent | 88cb850087cc0ad53c82068a153d89273c31675e (diff) | |
download | perl-1cd88304d705aae8d2b32c6e925fedd52980a122.tar.gz |
Make sprintf %c and chr() on inf/nan return the U+FFFD.
%c was made to produce "Inf"/"NaN" earlier, but let's
keep with the Unicode way, and make chr() agree with %c.
Diffstat (limited to 'embed.fnc')
-rw-r--r-- | embed.fnc | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -2663,6 +2663,8 @@ Apnod |Size_t |my_strlcat |NULLOK char *dst|NULLOK const char *src|Size_t size Apnod |Size_t |my_strlcpy |NULLOK char *dst|NULLOK const char *src|Size_t size #endif +Apdn |bool |Perl_isinfnan |NV nv + #if !defined(HAS_SIGNBIT) AMdnoP |int |Perl_signbit |NV f #endif |