I am making a project in which I am using the stm32f3discovery board and need to know the square root of a a decimal number, there is obviously the function in the std library but as I cannot use the std library, is there a way in which I can find the square root without it?
Okay, nevermind, I never used #![no_std] myself before. The documentation is indeed pretty confusing about this. What is the fundamental reason why those methods are not provided with #![no_std]?
For some targets, there are native instructions for these methods which LLVM will try to use, but in general it may have to fall back to the system libm -- which may not exist in no_std environments.