3 ms·
Either you've got a 64 bit fixed point number, 64Q32 or you just invented your own floating point format, and it's not clear which you're trying to describe.
by greesil 4y ago
Either you've got a 64 bit fixed point number, 64Q32 or you just invented your own floating point format, and it's not clear which you're trying to describe.
- Yaa101 4y agoFixed point math is common in software made for business applications because of rounding problems with binary floating point math. The following link is an example of a good quality fixed point math library and shows you how it is done. https://pkg.go.dev/github.com/shopspring/decimal?utm_source=godoc https://pkg.go.dev/github.com/shopspring/decimal?utm_source=...
- greesil 4y agoYou are explaining to me something in which I am already an expert. Thank you! Buenbot!