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

People
Owner: Nobody in particular
Requestors:
Cc:
AdminCc:

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



Subject: [PATCH] Rounding bug in test 18 of t/08create_function.t
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.