Fix unrepresentable float value in ScalarTest
authorRaphael Isemann <teemperor@gmail.com>
Mon, 22 Jan 2018 08:11:29 +0000 (08:11 +0000)
committerRaphael Isemann <teemperor@gmail.com>
Mon, 22 Jan 2018 08:11:29 +0000 (08:11 +0000)
commit0b16ef781459a65ad77badf7490c93af775dd38a
tree7889957a46a20cb2afcf2eee2c388ac9e8924815
parent93eaad7dac4573bbe81ffcebd72a9c03dc055d7d
Fix unrepresentable float value in ScalarTest

Summary: float can't represent the given value in the literal, so we get this UB error: `runtime error: 1.23457e+48 is outside the range of representable values of type 'float'`. The test seems to not rely on this specific value, so let's just choose a smaller one that can be represented.

Reviewers: uweigand

Subscribers: lldb-commits

Differential Revision: https://reviews.llvm.org/D42338

llvm-svn: 323081
lldb/unittests/Core/ScalarTest.cpp