]> granicus.if.org Git - php/commit
Fixed bug #73329 (Float)"Nano" == NAN
authorAnatol Belski <ab@php.net>
Tue, 18 Oct 2016 17:11:18 +0000 (19:11 +0200)
committerAnatol Belski <ab@php.net>
Tue, 18 Oct 2016 17:11:18 +0000 (19:11 +0200)
commit9f2ab75b1096b881ee97eb2b436763aa14c19635
tree0a9471d34458c436991835e0906bfe990ad77765
parentb4371a42921e4099a6110763b707abea7ffc0f03
Fixed bug #73329 (Float)"Nano" == NAN

The special cases (float)"inf", etc. were never intended and are
caused by the updated strtod lib. While it might be nice as an
easy way to produce Inf and NaN special values, it was never
documented and cause BC breaches.
Zend/zend_strtod_int.h
tests/lang/bug73329.phpt [new file with mode: 0644]