www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/01/24/20:01:50

Message-ID: <34CA750A.7715@cyber-quest.com>
Date: Sat, 24 Jan 1998 18:11:06 -0500
From: Jeff Taylor <jltaylor AT cyber-quest DOT com>
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: math functions
NNTP-Posting-Host: 207.51.80.132
Organization: Cyber-Quest, Inc.
Lines: 7
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I just trying to do some heavier than usual math (for me).  I'm using
the -lm switch on the link command line.  The gamma and pow functions
are not giving me the answers I expect.
  For pow(1.000336, -5) I get Infinity.  Is this outside the range of
pow?
  For gamma(5) I get 3.178, I'm expecting 24.  Are there two functions
called gamma functions?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019