aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorPeixinQiao <qiaopeixin@huawei.com>2022-04-14 21:28:30 +0800
committerPeixinQiao <qiaopeixin@huawei.com>2022-04-14 21:28:30 +0800
commit0ff322246bcd5c20fdda5e6d1215ee961db2abdc (patch)
treec84942b1c3bb505d07873ebc6d7da9aedadeb1da /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parente5a5e008256c20f4c2d870d687eda4caef25f9ea (diff)
downloadllvm-0ff322246bcd5c20fdda5e6d1215ee961db2abdc.zip
llvm-0ff322246bcd5c20fdda5e6d1215ee961db2abdc.tar.gz
llvm-0ff322246bcd5c20fdda5e6d1215ee961db2abdc.tar.bz2
[flang] Fix float-number representation bug
The float number is represented as (-1)^s * 1.f * 2^(-127) for 32-bit, where s is the signed flag, f is the mantissa. When the exponent bits are all zeros, the float number is represented as (-1)^s * 0.f *2^(-126) for 32-bit, in which case, the intPart is '0'. Reviewed By: Jean Perier https://reviews.llvm.org/D123673
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions