This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
S_F0convert(): remove Nan/Inf handling
authorDavid Mitchell <davem@iabyn.com>
Mon, 15 May 2017 13:49:50 +0000 (14:49 +0100)
committerDavid Mitchell <davem@iabyn.com>
Wed, 7 Jun 2017 08:11:01 +0000 (09:11 +0100)
commit2b7d1ece3360ab87502d3adcd9fd64f482cbe06e
tree8522171aacd1cecd3df4f8f8ab37ef6bf9f916d2
parent7c671983277afae7035c2c9078d47f9be9924bf0
S_F0convert(): remove Nan/Inf handling

This function handles sprintf "%.0f". It also handles Inf/Nan, but neither
of its callers will call it with such an nv. Its code for handling them is
also broken - it returns the \0 following the "Inf" or "Nan! string.

So just remove this unneeded and broken functionality.

At the same time document what S_F0convert() does.
sv.c