Skip Menu |

This queue is for tickets about the DBD-SQLite CPAN distribution.

Report information
The Basics
Id: 20039
Status: resolved
Priority: 0/
Queue: DBD-SQLite

Owner: Nobody in particular

Bug Information
Severity: Important
Broken in: 1.12
Fixed in: (no value)

Subject: [PATCH] Rounding bug in test 18 of t/08create_function.t
Download (untitled) / with headers
text/plain 386b
1.1 isn't 1.1 in floating point hardware, so the last test fails. 1.0625 is the closest float I could think of that passes the test. - $result = $dbh->selectrow_arrayref( "SELECT noop(1.1)" ); + $result = $dbh->selectrow_arrayref( "SELECT noop(1.0625)" ); print "XX ", $result->[0], "\n"; - ok( $result && $result->[0] == 1.1 ); + ok( $result && $result->[0] == 1.0625 ); Enjoy...
Applying, thanks.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to