Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Normalized floating point math is quite pleasant compared to the alternatives.

I read a statement like "var x = n1 * n2 * n3;" as "x is a point in some 3 dimensional space". There is no limit to the dimensions. 7 figures gives you something in the hypercube(1,1,1,1,1,1,1). This can make comparison of complex figures extremely cheap if the tradeoffs make sense for your application (they often don't).



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: