Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • G go
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • go
  • Repository

Switch branch/tag
  • go
  • src
  • math
  • big
  • float_test.go
Find file BlameHistoryPermalink
  • Robert Griesemer's avatar
    math/big: fix rounding to smallest denormal for Float.Float32/64 · a1453781
    Robert Griesemer authored Mar 18, 2016
    Converting a big.Float value x to a float32/64 value did not correctly
    round x up to the smallest denormal float32/64 if x was smaller than the
    smallest denormal float32/64, but larger than 0.5 of a smallest denormal
    float32/64.
    
    Handle this case explicitly and simplify some code in the turn.
    
    For #14651.
    
    Change-Id: I025e24bf8f0e671581a7de0abf7c1cd7e6403a6c
    Reviewed-on: https://go-review.googlesource.com/20816
    
    
    Run-TryBot: Robert Griesemer <gri@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: default avatarAlan Donovan <adonovan@google.com>
    a1453781

Replace float_test.go

Attach a file by drag & drop or click to upload


Cancel
GitLab will create a branch in your fork and start a merge request.
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7