[FP] can we add pure attribute for math library functions default?

hi @lntue, do you mean we can ignore the accessing of errno if they are all used for tests ?