Plan 9 from Bell Labs’s /usr/web/sources/contrib/fgb/root/sys/src/cmd/4th/lib/zenatanh.4th

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


\ 4tH library - FASINH FACOSH FATANH ZEN - Copyright 2009 J.L. Bezemer
\ You can redistribute this file and/or modify it under
\ the terms of the GNU General Public License

[UNDEFINED] fasinh [IF]
[UNDEFINED] fln   [IF] include lib/zenfln.4th   [THEN]
[UNDEFINED] fsqrt [IF] include lib/zenfsqrt.4th [THEN]

: (inverse) s>f 2over 2dup f* f+ fsqrt f+ fln ;
: fasinh  1 (inverse) ;
: facosh -1 (inverse) ;
: fatanh 1 s>f 2swap 2over 2over f+ 2rot 2rot f- f/ fln 2 s>f f/ ;

[DEFINED] 4TH# [IF] hide (inverse) [THEN]
[THEN]

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.