Skip to content

strconv: ftoa bug #2917

@rsc

Description

@rsc
not sure what happened or if it is true
http://build.golang.org/log/dd288a49040589c8e89101d9872e6fcbb3a2c0b9

--- FAIL: TestAtofRandom (0.01 seconds)
       atof_test.go:221: number 4.87402195346389e+27 badly parsed as 8865794286000692p+39 (expected 8865794286000691p+39)
       atof_test.go:226: tested 10000 random numbers
FAIL

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions