#307 √ resolved
Ben Hughes

[BUG] String#to_f spec fails on "-0"

Reported by Ben Hughes | February 3rd, 2008 @ 10:46 AM | in 1.0 preview

MRI returns -0.0 for both "-0".to_f and "-0.0".to_f while Rubinius only returns -0.0 for "-0.0".to_f this causes "String#to_f takes an optional sign" to fail

Comments and changes to this ticket

Please Login or create a free account to add a new comment.

You can update this ticket by sending an email to from your email client. (help)

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »