Re: Add a signaling Nans rts option to ghc?

2016-09-16 Thread Carter Schonwald
IEEE standard specify infinities as distinguished from NAN. Not that the IEEE standard always makes the best choices (semantics of min and max being the naughtiest ). But to the extent that hardware supoorts toggling what values trigger failure it should be reasonably toggle -able For Intel

Re: Add a signaling Nans rts option to ghc?

2016-09-16 Thread Niklas Hambüchen
Count me in as interested, I'd appreciate a feature to notice accidental NaNs in my code. ___ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

Re: Add a signaling Nans rts option to ghc?

2016-09-16 Thread Ben Gamari
Carter Schonwald writes: > Hello All! > I had some interesting conversations yesterday with a few folks and the > take away was that I might experiment with adding an off by default rts > flag that on applicable architectures that makes all floating point >

Add a signaling Nans rts option to ghc?

2016-09-16 Thread Carter Schonwald
Hello All! I had some interesting conversations yesterday with a few folks and the take away was that I might experiment with adding an off by default rts flag that on applicable architectures that makes all floating point computations that yield Nans signaling , plus mayve some HS side hooks to