doc++
mathfun_reg -> mathfun_value
doc++