https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229501

            Bug ID: 229501
           Summary: [libm] Reduce diff between src/e_j0.c and src/e_j0f.c
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 194865
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=194865&action=edit
Use literal constants

The attached diff reduces the diff between src/e_j0.c and src/e_j0f.c.
Specifically, where possible it uses literal integer constants to
remove the need for casting a double literal constant to a float, and
it introduces 'static const <type> qrtr = 0.25' and 'static const <type>
eighth = 0.125' to eliminate the need for casting doubles to floats.
Exhaustive testing of j0f(x) in the domain [0,1e+30) shows no differences.

While here convert a sentence fragment in a comment to a sentence.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to