LSL-PyOptimizer/unit_tests/regression.suite/nan-fcast-vcast-minus0.out
Sei Lisa 281ff4d96a Strings representing denormals no longer give 0 when cast to float
This annoyance and discrepancy with LSO was finally fixed by Linden Lab. The change has prompted some modifications to the test suite to accommodate for the new results. A further improvement has been to make these tests more friendly to be run in SL, making it easier to verify the results.

Fixes #17.

Reported by SaladDais@users.noreply.github.com - thanks!
2022-05-17 13:48:05 +02:00

45 lines
1.2 KiB
Text

default
{
timer()
{
llSetPrimitiveParams(
[ 1e40
, ((float)-1e40)
, 1e40
, ((float)0)
, ((float)0)
, 1e40
, 1e40
, ((float)-1e40)
, (-1e40*0)
, (1e40*0)
, "nan"
, "-nan"
, "-nan"
, "-nan"
, "0.000000"
, (-(float)0)
, ((float)0)
, 0
, 0
, ((float)-19)
, ((float)19)
, ((float)-38)
, ((float)38)
, <((float)0), (-(float)0), ((float)0)>
, <(-1e40*0), (-(float)0), (-(float)0)>
, <(1e40*0), ((float)1), ((float)1)>
, <((float)0), ((float)0), ((float)0)>
, <(-1e40*0), (-1e40*0), (-1e40*0)>
, <((float)0), ((float)0), ((float)0)>
, 1e-38
, <1e-38, ((float)0), ((float)0)>
, 1e40
, (1e40*0)
, <((float)3), ((float)0), (-(float)0)> / ((float)0)
, <((float)3), ((float)0), (-(float)0)> / (-(float)0)
, <1e40, (1e40*0), (-1e40*0)> / ((float)0)
, <1e40, (1e40*0), (-1e40*0)> / (-(float)0)
]);
}
}