I tried "-lmath" but that didn't work out, tried looking for it via google but who'd of thought that even the official docs don't even mention it let alone every other link I tried be it a guide or something else
I tried "-lmath" but that didn't work out, tried looking for it via google but who'd of thought that even the official docs don't even mention it let alone every other link I tried be it a guide or something else
Try -lm
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)
ThanksI now have lu compiled for usage with other projects of mine, I'll upload the changes later after work, prob 2mw morning
From man 3 pow (Just one of the functions available from the math library):
The man system is the programmers friend! ;^)POW(3) Linux Programmer's Manual POW(3)
NAME
pow, powf, powl - power functions
SYNOPSIS
#include <math.h>
double pow(double x, double y);
float powf(float x, float y);
long double powl(long double x, long double y);
Link with -lm.
...