Dyalog APL also uses 64-bit IEEE-754 for real numbers. In C, using "double" gives the correct result, but using "real" (single precision) gives the wrong result.
Bob On 2017-02-09 10:58 AM, Raul Miller wrote:
My guess, looking at those numbers, but not mustering enough interest to plow through the video, is that by IEEE-754, he meant 32 bit IEEE-754, but J uses 64 bit IEEE-754. I'm having trouble mustering up interest because while focusing on specific cases is useful for working with simple algorithms, for something like this you really need to be considering much larger fields of values. And I'm not going to see anything like that in this video.
-- Robert Bernecky Snake Island Research Inc 18 Fifth Street Ward's Island Toronto, Ontario M5J 2B9 [email protected] tel: +1 416 203 0854 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
