mirror of
https://github.com/php/php-src.git
synced 2025-08-18 15:08:55 +02:00
- Adjusted tests to reality
# We select 123456789.12345679, we should have this returned and not # something 123456789.123457 (rounded)
This commit is contained in:
parent
70500d898d
commit
9f39f064fe
1 changed files with 4 additions and 4 deletions
|
@ -112,9 +112,9 @@ array(2) {
|
|||
["test_tinyint"]=>
|
||||
int(123)
|
||||
["test_real"]=>
|
||||
string(16) "123456789.123457"
|
||||
string(18) "123456789.12345679"
|
||||
["test_double"]=>
|
||||
string(16) "123456789.123457"
|
||||
string(18) "123456789.12345679"
|
||||
}
|
||||
[1]=>
|
||||
array(10) {
|
||||
|
@ -135,9 +135,9 @@ array(2) {
|
|||
["test_tinyint"]=>
|
||||
int(255)
|
||||
["test_real"]=>
|
||||
string(17) "-123456789.123457"
|
||||
string(19) "-123456789.12345679"
|
||||
["test_double"]=>
|
||||
string(17) "-123456789.123457"
|
||||
string(19) "-123456789.12345679"
|
||||
}
|
||||
}
|
||||
bool(true)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue