Slava Pestov
|
427bfb4ab8
|
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
|
4d5e547ba9
|
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
|
2a576f370b
|
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
|
8fff76fce2
|
add some tests to help track down leaks in FP state changes
|
2009-09-08 23:07:33 -05:00 |
Joe Groff
|
4f43af5b7d
|
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
|
11a8d2d71a
|
test fp traps
|
2009-09-06 09:04:46 -05:00 |
Joe Groff
|
1d36bba11b
|
unit tests for math.floats.env
|
2009-09-06 07:50:56 -05:00 |