Y
Hacker News
new
|
ask
|
show
|
jobs
by
kdowns
833 days ago
Don't think that's quite right. `float` has 4 bytes, and `double` has 8. The `decimal` type has 16 bytes and does all it's arithmetic in base 10.
https://learn.microsoft.com/en-us/dotnet/csharp/language-ref...