Skip to content

math/big: ParseFloat returns err == EOF on success #9938

@josharian

Description

@josharian
package main

import (
    "fmt"
    "math/big"
)

func main() {
    _, _, err := big.ParseFloat("3", 10, 350, big.ToNearestEven)
    fmt.Println(err)
}

yields EOF.

(I know that big.Float is not yet complete. Just filing things as I encounter them so they don't get lost.)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions