you did not provide proof You can not look in the processor to see what it does
If you had provided a complete example, we possibly could have at least been able to reproduce or have pointed out your mistake or the compiler's mistake or the Arduino mistake.
But I think that westfw has put you on the right track.
PS double on AVR is the same as float; you will not gain anything by using double.
Huge thanks guys. Sorry I missed the serial print in the embedded code.
I shall give it a try later in the evening and came here but it's seems for sure that I was ignoring how serial print behaves for decimal
Thanks again and thanks for the fast reply
Suggestions worked great, however now I have another problem
whenever I try to make a sq() function it does not yield the correct result
Examples tryied
float subdiv; //tried INT also, but it is float because it will imply PI later
subdiv = 380*380; this is V (voltage) square, tryied sq(380) and 380*380 and both yield 13328
float coseno9;
float coseno6;
coseno9 = acos(0.9);
coseno6 = acos(0.6)
Serial.print("Coseno9: ");Serial.println(coseno9,7);
Serial.print("Coseno6: ");Serial.println(coseno6,7);
Serial.print("Subdiv: ");Serial.println(subdiv); //Returns 13328 instead of 144.400
}