summaryrefslogtreecommitdiff
path: root/embed.fnc
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2014-08-27 07:45:00 -0400
committerJarkko Hietaniemi <jhi@iki.fi>2014-08-27 18:21:40 -0400
commit1cd88304d705aae8d2b32c6e925fedd52980a122 (patch)
treec763a9bd4606e0f77650aaa19d17f16f86b4609f /embed.fnc
parent88cb850087cc0ad53c82068a153d89273c31675e (diff)
downloadperl-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.fnc2
1 files changed, 2 insertions, 0 deletions
diff --git a/embed.fnc b/embed.fnc
index 0689d25439..0bb6522522 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -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