delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1992/12/12/04:57:32

Date: Sat, 12 Dec 1992 20:23:13 +1100
From: marwan AT sedal DOT su DOT OZ DOT AU (Marwan Jabri)
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: tanh in libm is buggy?

The tanh() routine in libm.a seems to have a bug which makes always returning
the tanh(abs()). I have tried few other math functions which looked like 
working properly. I have compiled the 4.3 BSD math library and it seems to work
ok. Has anybody experienced similar problems with libm?

Marwan Jabri
marwan AT sedal DOT su DOT oz DOT au

- Raw text -


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