mirror of
https://github.com/yuzu-emu/FasTC.git
synced 2024-11-24 12:15:51 +01:00
Prevent the compiler from deciding whether or not the float is big enough to overflow or not...
This commit is contained in:
parent
e96cecc13a
commit
88821fbbb0
@ -118,7 +118,7 @@ TEST(VectorBase, PointerConversion) {
|
|||||||
|
|
||||||
TEST(VectorBase, CastVector) {
|
TEST(VectorBase, CastVector) {
|
||||||
FasTC::VectorBase<float, 3> v3f;
|
FasTC::VectorBase<float, 3> v3f;
|
||||||
v3f[0] = 100000000000.0f;
|
v3f[0] = 1000000.0f;
|
||||||
v3f[1] = -2.0f;
|
v3f[1] = -2.0f;
|
||||||
v3f[2] = -1.1f;
|
v3f[2] = -1.1f;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user