I want the absolute-value from a negative double - and I thought the abs-function was as easy to use as in java - but NOT!
abs
It seems that the abs>
abs>
Use fabs() (in math.h) to get absolute-value for double:
double
double d1 = fabs(-3.8951);