If i want to generate a double with limited precision, how do?
Expressed in base 10 or base 2?
And do you mean precision relative to the fixed decimal point, or in the floating point sense?
(like is 1e-100 high precision?)
yes, relative to the fixed decimal point
base 10
I'd generate an integer and divide it by 100.0 probably
With fmap
thanks @gfredericks
👍
Obligatory warning about how doubles can't precisely represent most of those numbers