Problem using lib math.h in NCS v2.2.0

Hi, I´m updating my project from nRF5 to NCS v2.2.0 but I got a problem with math.h., I had to add in proj.config:

CONFIG_NEWLIB_LIBC=y
to recognize the library but functions like:
pow, and log functions are returning 0, not the correct values.
How can I correct this problem and use math lib without a problem?
Related