Login  Register

pow and rootn functions

Posted by Abimael on Oct 14, 2011; 2:40am
URL: https://forum.jogamp.org/pow-and-rootn-functions-tp3420544.html


hello

Does anybody use pow and rootn functions  ?
I try to do a simple example : pow(2.0f, 4.0f) but it does not work ..
It seems  that pow does not return a proper value and code finishs without any error message.. It just finishes as a proper end , but it does not, as the value of 2 ^ 4 is not calculated.
The same for rootn ...

They are going to make me crazy, because it is very hard and difficult check and debug such kind of error..
My guess is that I am doing something wrong, but I am not able to realize WHERE, as I just use the function as in the especification .

Thanks in advance