Sujet : Re: Complex square root of -1 : zsqrt(-1)
De : anton (at) *nospam* mips.complang.tuwien.ac.at (Anton Ertl)
Groupes : comp.lang.forthDate : 25. Aug 2024, 18:13:46
Autres entêtes
Organisation : Institut fuer Computersprachen, Technische Universitaet Wien
Message-ID : <2024Aug25.191346@mips.complang.tuwien.ac.at>
References : 1
User-Agent : xrn 10.11
melahi_ahmed@yahoo.fr (ahmed) writes:
Hi,
With gforth, complex.fs included.
-1e 0e zsqrt z. NaN ok
Thanks for the bug report. With that bug fixed, I get
-1e 0e zsqrt z. \ output: 1.i
The others seem to be normal FP rounding.
- anton
-- M. Anton Ertl http://www.complang.tuwien.ac.at/anton/home.htmlcomp.lang.forth FAQs: http://www.complang.tuwien.ac.at/forth/faq/toc.html New standard: https://forth-standard.org/ EuroForth 2024: https://euro.theforth.net