Fix #4341: atan of complex bfloat calls rat
commit247e9646783e0d81ff360aa5699cc7ed329819bc
authorRaymond Toy <toy.raymond@gmail.com>
Wed, 7 Aug 2024 17:24:08 +0000 (7 10:24 -0700)
committerRaymond Toy <toy.raymond@gmail.com>
Wed, 7 Aug 2024 17:24:08 +0000 (7 10:24 -0700)
tree4611edd8bbfabb102fa67a4b2c06a0e62cc548a1
parent9d350d1fc779d30eb0ff8924618ec07a43c7356b
Fix #4341: atan of complex bfloat calls rat

This was caused by atan using logarc to get the logarithmic form of
the atan function.

Instead, add a `big-float-atan` function that implements the function
directly, using the relationship that atan(z) = -%i*atanh(%i*z).
src/float.lisp
src/trigi.lisp