Andres Gomez <[email protected]> writes:

> When performing a trunc op in a float value there is, basically, three
> scenarios: when the exponent is < 0, when it is > bitsize of the
> significand or with a value in the middle. Current generator was using
> data for values in the middle and < 0 but not for the last case so we
> add now a couple of values in that range and also the interesting 0.0
> special value.

Yeah, the testing for trunc/floor/ceil are really weak.  It would also
be relevant to test values with exponents >= 32, to catch
implementations trying to use casting to an integer.

Still, improvements are good:

Reviewed-by: Eric Anholt <[email protected]>

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Piglit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to