(solved)Error in math extensions

there difference between float and double size of float is 4 byte = 32 bit and size of double is 8 byte = 64 bit.

give the mark to yourself :innocent: :rofl:

1 Like

PI is defined as a double in Java (ref) and you don't need to cast the return to double since everything will be promoted to double for the math operations since they involve at least one double.

2 Likes

please remember to follow the naming conventions

Taifun

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.