In the AVR-libc documentation of the math functions ( http://www.nongnu.org/avr-libc/u... ) it says as follows:
"In order to access the functions delcared herein, it is usually also required to additionally link against the library libm.a. See also the related FAQ entry."
What determines this? I have compiled a program that uses the 'sqrt' function and it curiously works without including the library. Does this mean that my code will work on other computers as well, or will it fail on some?
Normally I would just be happy that it works, but I need to explain this to someone, so I am curious why this is.
Can anyone shed some light on this?