Is pow(val, 40.0) more expensive than pow(val, 4.0) ? I'm curious about how the pow function works. Does the cost of the function go up linearly with the number of powers? Does it calculate val*val 40 times in pow(val, 40.0)? https://ift.tt/eA8V8J
I'm curious about how the pow function works. Does the cost of the function go up linearly with the number of powers? Does it calculate val*val 40 times in pow(val, 40.0)?
from GameDev.net https://ift.tt/30SNdnd
from GameDev.net https://ift.tt/30SNdnd
ليست هناك تعليقات