It would depend on the accuracy. You could do a look up table for a range of values from 0..1. The better the accuracy, the more values in the table. This type of look up table is used a lot for trig functions.
It would depend on the accuracy. You could do a look up table for a range of values from 0..1. The better the accuracy, the more values in the table. This type of look up table is used a lot for trig functions.