in reply to Re^2: Irrational numbers
in thread Irrational numbers
It might indeed have a big cost in performance, though it's not so obvious.
You are competing against something that the hardware can do in as little as one cpu cycle. No matter what you do, it will have a huge performance penalty, percentage wise.