Viewing profile — robaho
robaho
HN member- Joined
- Thu, Aug 02, 2018, 7:15 PM UTC
- HN karma
- 9
- Public activity
- 5 items
- HN profile
- View on Hacker News ↗
About robaho
No profile information was provided.
Recent public activity
-
comment
Comment #18566653
No, original go-trader used it, since quuckfixgo uses it, and during profiling it showed as a significant cost, so I wrote Fixed.Fixed
-
comment
Comment #18565876
As a long ago game developer, we never used floating point - I'm sure things have changed now - but we always used fixed point integer, with lookup tables for sin, etc.
-
comment
Comment #18565872
not really, except that all of them are going to zero, so fixed.Fixed should be sufficient :)
-
comment
Comment #18565864
Also, at least in Go, it is fairly trivial to do: type Billions fixed.Fixed and then add operators to allow Fixed to be added, String() would add a B at the end etc. So 0.1 is 100 …
-
comment
Comment #18564531
As the author of Fixed, I'd like to make a few comments: 1. If you are above 100 billion, you are probably dropping the the 'fractions' and dealing with whole numbers. Most databas…