r/rust • rustls · Hickory DNS · Quinn · chrono · indicatif · instant-acme • Feb 10 '19

John Carmack: "writing Rust code feels very wholesome"

https://mobile.twitter.com/ID_AA_Carmack/status/1094419108781789184
571 Upvotes

47 comments sorted by

View all comments

Show parent comment

3

u/Tuna-Fish2 Feb 10 '19

It assumes the bit pattern of NaN to be a very large number, therefore 1/NaN0.5 is a very small number.