rfc:precise_float_value

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
rfc:precise_float_value [2015/09/25 00:05] yohgakirfc:precise_float_value [2016/02/25 01:25] yohgaki
Line 123: Line 123:
 ===== Backward Incompatible Changes ===== ===== Backward Incompatible Changes =====
  
-PHP 7.will have 0 mode as the default. var_export()/serialize() may have different number. +PHP 7.will have 0 mode as the default. var_export()/serialize() may have different number. 
  
 FYI: Existing tests passes even when 0 mode is used. FYI: Existing tests passes even when 0 mode is used.
Line 164: Line 164:
   * php.ini-production values : 14 Unmodified   * php.ini-production values : 14 Unmodified
  
-serialize_precision(PHP5.6)+serialize_precision(PHP5.6/7.0)
   * hardcoded default values : 17 Unmodified   * hardcoded default values : 17 Unmodified
   * php.ini-development values : 17 Unmodified   * php.ini-development values : 17 Unmodified
   * php.ini-production values : 17 Unmodified   * php.ini-production values : 17 Unmodified
  
-serialize_precision(PHP7)+serialize_precision(PHP7.1)
   * hardcoded default values : -1   * hardcoded default values : -1
   * php.ini-development values : -1   * php.ini-development values : -1
   * php.ini-production values : -1   * php.ini-production values : -1
  
-json_precision(NEW - PHP7 only)+json.precision(NEW - PHP7.1 only)
   * hardcoded default values : -1   * hardcoded default values : -1
   * php.ini-development values : -1   * php.ini-development values : -1
Line 250: Line 250:
 ===== References ===== ===== References =====
  
-https://marc.info/?l=php-internals&m=143786181229714&w=2+  * https://marc.info/?l=php-internals&m=143786181229714&w=2 
 +  * https://bugs.php.net/bug.php?id=71473 
 +  * http://blog.reverberate.org/2016/02/06/floating-point-demystified-part2.html
  
 ===== Rejected Features ===== ===== Rejected Features =====
 Keep this updated with features that were discussed on the mail lists. Keep this updated with features that were discussed on the mail lists.
  
rfc/precise_float_value.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1