Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
xtacy
on Oct 29, 2010
|
parent
|
context
|
favorite
| on:
0.30000000000000004
If you really want precision and you're dealing only with rational numbers, it's better to maintain a struct rational { u64 numerator, denominator; }; and do all calculations with it.
Consider applying for YC's Winter 2027 batch!
Applications
are open till November 2.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: