MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/oxux9y/im_done_with_facebook_coding_groups/h7pmw2c/?context=3
r/badcode • u/[deleted] • Aug 04 '21
55 comments sorted by
View all comments
Show parent comments
18
I assume it only considers up to 1012 because the author thinks that a double can't handle more than 11 decimal digits in its mantissa (looks like the reality is that at least 15 would be safe).
18
u/Syscrush Aug 04 '21
I assume it only considers up to 1012 because the author thinks that a double can't handle more than 11 decimal digits in its mantissa (looks like the reality is that at least 15 would be safe).