summaryrefslogtreecommitdiff
path: root/annotations/generate_annotated_java_files.py
diff options
context:
space:
mode:
authorCarl Shapiro <cshapiro@google.com>2011-07-15 19:02:39 -0700
committerElliott Hughes <enh@google.com>2012-08-01 15:40:05 -0700
commitbbffd0389666ee4c3a44c9f111bc87cb8781c30e (patch)
treef34c77936b46895e88adb48eb7412d56fe704806 /annotations/generate_annotated_java_files.py
parentcfd0f99273566d25c3d2929f078632455bb4ad30 (diff)
Avoid the implicit NaN test in {float,double}To{Int,Long}Bits.
The possibility of ak being a NaN is eliminated by the preceding compare to 0.0. As such, a raw conversion will produce identical results. (cherry-pick of c9f45b2e4dd6c5f0bd96d8419370cdbbc7031ffa.) Change-Id: Ic87cc137030d9d9e2f3c725ed15982b313323b5d
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions