File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22All notable changes to this project will be documented in this file.
33This project follows [ Semantic Versioning] ( http://semver.org/ ) .
44
5+ ## [ 1.3.1] - 2020-02-03
6+ - Fixed ` abs ` affected by precision. #31 Thanks @bobvandevijver
7+
58## [ 1.3.0] - 2019-02-11
69- Fixed sqrt of -INF returning -INF rather than NAN. #13
710- Disable opcache pass 2 due to numeric string to float casts. Thanks @krakjoe
Original file line number Diff line number Diff line change 1010 <email >rtheunissen@php.net</email >
1111 <active >yes</active >
1212 </lead >
13- <date >2019 -02-11 </date >
14- <time >10:05:05 </time >
13+ <date >2020 -02-03 </date >
14+ <time >13:11:02 </time >
1515 <version >
16- <release >1.3.0 </release >
16+ <release >1.3.1 </release >
1717 <api >1.3.0</api >
1818 </version >
1919 <stability >
2222 </stability >
2323 <license uri =" https://opensource.org/licenses/MIT" >MIT License</license >
2424 <notes >
25- - Fixed sqrt of -INF returning -INF rather than NAN. #13
26- - Disable opcache pass 2 due to numeric string to float casts. Thanks @krakjoe
25+ - Fixed abs affected by precision.
2726 </notes >
2827 <contents >
2928 <dir name =" /" >
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ static void php_decimal_print(php_decimal_t *obj)
5959{
6060 char * str ;
6161 mpd_to_sci_size (& str , PHP_DECIMAL_MPD (obj ), 1 );
62- php_printf ("{\n repr: %s\n prec: %ld\n}\n" , str , obj -> prec );
62+ php_printf ("{\n repr: %s\n prec: %ld\n}\n" , str , ( long ) obj -> prec );
6363 mpd_free (str );
6464}
6565
You can’t perform that action at this time.
0 commit comments