R01 RISC-V C library math.h does not include pow or sqrt

Compiling some test code on the Devterm-R01. math.h is found, but does not include the pow or sqrt functions. Is this expected?

1 Like

Found my own answer. Forgot to include the “-lm” argument when compiling.

1 Like