Keyur Govande
7bfe9bf951
Merge branch 'pull-request/772' into PHP-5.4
...
* pull-request/772:
Fix failing tests
Patch for bug #67839 (mysqli does not handle 4-byte floats correctly)
Before the patch, a value of 9.99 in a FLOAT column came out of mysqli
as 9.9998998641968. This is because it would naively cast a 4-byte float
into PHP's internal 8-byte double.
To fix this, with GCC we use the built-in decimal support to "up-convert"
the 4-byte float to a 8-byte double.
When that is not available, we fall back to converting the float
to a string and then converting the string to a double. This mimics
what MySQL does.
2014-08-15 23:06:55 +00:00
..
2014-01-03 11:04:26 +08:00
2014-05-08 01:59:39 -07:00
2014-01-03 11:04:26 +08:00
2014-08-12 11:49:46 +02:00
2014-01-03 11:04:26 +08:00
2014-05-12 10:54:16 -07:00
2014-08-13 20:12:42 +08:00
2014-01-03 11:04:26 +08:00
2014-06-09 07:05:23 +02:00
2014-01-03 11:04:26 +08:00
2014-01-03 11:04:26 +08:00
2014-06-08 13:50:22 -07:00
2014-08-14 17:21:20 -07:00
2014-07-02 22:37:58 +02:00
2014-07-08 14:13:46 -07:00
2014-08-04 10:42:39 +02:00
2014-01-03 11:04:26 +08:00
2014-03-11 11:50:14 +01:00
2014-01-03 11:04:26 +08:00
2014-01-03 11:04:26 +08:00
2014-01-03 11:04:26 +08:00
2014-04-10 17:42:32 +03:00
2014-07-07 01:35:25 -07:00
2014-04-13 18:50:39 -07:00
2014-04-14 10:44:53 -07:00
2014-06-09 07:05:23 +02:00
2014-01-29 23:48:07 -08:00
2014-01-03 11:04:26 +08:00
2014-01-03 11:04:26 +08:00
2014-06-20 13:56:32 +04:00
2014-08-14 18:20:26 +00:00
2014-08-14 18:19:56 +00:00
2014-02-24 17:01:30 -08:00
2014-07-30 02:28:31 +00:00
2014-08-07 19:49:59 +02:00
2014-01-03 11:04:26 +08:00
2014-01-03 11:04:26 +08:00
2014-06-16 23:26:50 +03:00
2014-01-03 11:04:26 +08:00
2014-04-28 12:13:11 +03:00
2014-06-20 13:56:32 +04:00
2014-01-03 11:04:26 +08:00
2014-01-03 11:04:26 +08:00
2014-05-21 18:58:14 +02:00
2014-01-03 11:04:26 +08:00
2014-07-01 13:19:22 -07:00
2014-07-08 12:53:45 -07:00
2014-04-14 15:44:23 -07:00
2014-01-03 11:04:26 +08:00
2014-07-24 17:58:39 +02:00
2014-01-03 11:04:26 +08:00
2014-06-08 13:50:22 -07:00
2014-07-27 02:42:49 -07:00
2014-01-03 11:04:26 +08:00
2014-05-10 11:55:42 -03:00
2013-10-14 14:18:43 +02:00
2014-01-03 11:04:26 +08:00
2014-06-08 19:36:18 -07:00
2014-01-03 11:04:26 +08:00
2014-07-24 22:54:14 -07:00
2014-01-03 11:04:26 +08:00
2014-08-14 17:07:28 -07:00
2014-01-03 11:04:26 +08:00
2014-01-03 11:04:26 +08:00
2014-01-03 11:04:26 +08:00
2014-01-03 11:04:26 +08:00
2014-01-03 11:04:26 +08:00
2014-02-14 14:51:10 +02:00
2014-01-03 11:04:26 +08:00
2014-01-03 11:04:26 +08:00
2014-01-03 11:04:26 +08:00
2014-01-03 11:04:26 +08:00
2014-01-03 11:04:26 +08:00
2014-04-01 10:08:08 +02:00
2014-01-03 11:04:26 +08:00
2014-08-05 15:44:43 +02:00
2014-05-01 11:22:20 -07:00