Skip to content

Tanh bug

  • Lazarus/FPC Version: 2.2.2/3.2.0
  • Operating System: WIN10 pro
  • CPU / Bitness: 64-bit

What happens

tanh crashes for not so large input negative values

What did you expect

coorrect tanh implementaion

Steps to reproduce

provide input values just below -354 and tanh crashes

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information