diff options
author | truckman <truckman@FreeBSD.org> | 2016-05-29 07:23:56 +0000 |
---|---|---|
committer | truckman <truckman@FreeBSD.org> | 2016-05-29 07:23:56 +0000 |
commit | ba1b6b7d8c746faa99de3fb0c2a0b4dc82c57022 (patch) | |
tree | ce7129bff1caa2a74f1e4537bd2c31a7da2df7fa /lib/libc | |
parent | 261014d97dc8b721b0600b36ca3061d770c61961 (diff) | |
download | FreeBSD-src-ba1b6b7d8c746faa99de3fb0c2a0b4dc82c57022.zip FreeBSD-src-ba1b6b7d8c746faa99de3fb0c2a0b4dc82c57022.tar.gz |
Cast some expressions that multiply a long long constant by a
floating point constant to int64_t. This avoids the runtime
conversion of the the other operand in a set of comparisons from
int64_t to floating point and doing the comparisions in floating
point.
Suggested by: lidl
Submitted by: Rasool Al-Saadi <ralsaadi@swin.edu.au>
MFC after: 2 weeks (with r300779)
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions