Page MenuHomeFreeBSD

Fix fmaf(3) sw implementation for subnormals
ClosedPublic

Authored by kib on Thu, Sep 10, 11:38 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Sep 18, 8:15 PM
Unknown Object (File)
Fri, Sep 18, 2:55 PM
Unknown Object (File)
Fri, Sep 18, 2:29 PM
Unknown Object (File)
Fri, Sep 18, 4:50 AM
Unknown Object (File)
Thu, Sep 17, 9:10 PM
Unknown Object (File)
Thu, Sep 17, 4:27 PM
Unknown Object (File)
Thu, Sep 17, 3:33 AM
Unknown Object (File)
Wed, Sep 16, 4:55 PM
Subscribers

Details

Summary
lib/msun: use the same algorithm for sw fmaf(3) as for fma(3)

This fixes rounding at the last bit for subnormals.


lib/msun: add tests for fmaf(3) subnormals

PR:     298260

(The author is set to 'kargl@')

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kib requested review of this revision.Thu, Sep 10, 11:38 PM
kib edited the summary of this revision. (Show Details)

This is above my paygrade as far as numerical programming goes, but let's just hope it's fine.

This revision was not accepted when it landed; it landed in state Needs Review.Fri, Sep 11, 5:53 PM
This revision was automatically updated to reflect the committed changes.