From: Axel DOT Riese AT risc DOT uni-linz DOT ac DOT at (Axel Riese) Subject: cygwin and pow() 7 Apr 1998 06:28:52 -0700 Message-ID: <199803310655.AA27868.cygnus.gnu-win32@jade.risc.uni-linz.ac.at> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit To: gnu-win32 AT cygnus DOT com (GNU-Win32) Dear all ! Could someone please help me with the following problem. I want to compute 0.5 ^ 0.75, which should give something close to 0.5946... /*********************************************************************/ /* test.c */ /*********************************************************************/ int main() { double result; result = pow(0.5, 0.75); printf("The result is: %f\n", result); return 0; } /*********************************************************************/ With Cygnus B19.1, I obtain the following: > test The result is: 16416.000000 Mingw32 gives: > test The result is: 32.000000 Am I doing something wrong ??????????????????? - Axel =========================================================================== Axel Riese Research Institute for Symbolic Computation J. Kepler University Linz Altenbergerstrasse 69 Phone: +43 (0)732 2468 9981 A-4040 Linz e-Mail: Axel DOT Riese AT risc DOT uni-linz DOT ac DOT at Austria URL: http://www.risc.uni-linz.ac.at/people/ariese/home/ =========================================================================== - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".