Exhaustive comparative testing of your primitives is the only true test of them. https://randomascii.wordpress.com/2014/01/27/theres-only-four-billion-floatsso-test-them-all/ … @BruceDawson0xB
-
Show this thread
-
Replying to @rob_pike @BruceDawson0xB
Wonder if anyone's done automated VM spinup (eg AWS) to do exhaustive test of double functions?
2 replies 0 retweets 0 likes -
Replying to @RichFelker @rob_pike
How many CPUs you want to spin up? With a million cores it might take a week or longer. Possible, but pricey.
2 replies 0 retweets 0 likes -
If the test isn't checking for strict equivalence, maybe you can get away with interval arithmetic over very small input ranges.
2 replies 0 retweets 0 likes
No, it really is test of strict equality on all inputs except maybe nans.
4:11 PM - 14 Sep 2017
0 replies
0 retweets
0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.