HomeFreeBSD

Replace constant expressions that contain multiplications by

Description

Replace constant expressions that contain multiplications by
fractional floating point values with integer divides. This will
eliminate any chance that the compiler will generate code to evaluate
the expression using floating point at runtime.

Suggested by: bde
Submitted by: Rasool Al-Saadi <ralsaadi@swin.edu.au>
MFC after: 8 days (with r300779 and r300949)

Details

Provenance
truckmanAuthored on
Parents
rS301161: Fix the library name.
Branches
Unknown
Tags
Unknown