Skip to content

6g rounds denormals incorrectly #1463

@rsc

Description

@rsc
package main

import "fmt"

func main() {
    fmt.Println(float64(2.2250738585072011e-308))
}

prints 
2.2250738585072014e-308
should be 
2.225073858507201e-308

the problem is in the value generated by 6g,
not the printing routines

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions