4 ms·
The post no longer exists?
by pavanky 7y ago
The post no longer exists?
- jandrese 7y agohttps://web.archive.org/web/20191112011511/https://www.johndcook.com/blog/2019/11/11/floating-point-oddity/ https://web.archive.org/web/20191112011511/https://www.johnd...
- colanderman 7y agoThe original post was missing return types for the C++ functions, thus defaulting to int. Adding correct return types (T) resulted in the same output as the C version (0), thus eliminating the discrepancy and making the title nonsensical, hence the edit. -Wall -Wextra -Werror is your friend.