Slava Pestov
|
3ab6dbac22
|
math.floats.env: fix compiled trap unit tests
|
2009-09-13 18:22:49 -05:00 |
Slava Pestov
|
32b95c2cdf
|
math: add unordered comparison operators u< u<= u> u>= which behave exactly like < <= > >= except no floating point exceptions are set if one or both inputs are NaNs; also add efficient intrinsic for unordered? predicate, and fix propagation type functions for abs, absq, and bitnot
|
2009-09-12 22:20:13 -05:00 |
Joe Groff
|
61851fcd7a
|
take the union of the x87 and sse exception flags when reporting fp-exception-flags. add back the unit tests i took out since this should fix the problem
|
2009-09-09 23:37:48 -05:00 |
Joe Groff
|
3d49cc5a0d
|
change math.floats.env tests not to use any libm functions, which don't reliably set the right hardware exceptions on linux glibc
|
2009-09-09 18:00:38 -05:00 |
Joe Groff
|
1c62a978d0
|
add some tests to help track down leaks in FP state changes
|
2009-09-08 23:07:33 -05:00 |
Joe Groff
|
0ec342a1c5
|
factor out x86 and ppc backends for math.floats.env; update both x87 and SSE state on x86
|
2009-09-08 15:36:53 -05:00 |
Joe Groff
|
25b45d6af0
|
test fp traps
|
2009-09-06 09:04:46 -05:00 |
Joe Groff
|
96db254311
|
unit tests for math.floats.env
|
2009-09-06 07:50:56 -05:00 |