This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to add sqrtl to project

IDE: Segger Embedded Studio

SDK: 15.2

Mesh SDK: 3.1.0

Im working on adding light lightness model to the mesh SDK and it requires doing an equation like sqrt(x * 65535) but i cannot do this as the value passed to sqrt is larger than an int. This means I need to use sqrtl but I cannot seem to add it to my project. I can use all the other functions in math.h. Any ideas on how I can obtain the function sqrtl?

Related