Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: anton@mips.complang.tuwien.ac.at (Anton Ertl) Newsgroups: comp.lang.forth Subject: Re: Complex square root of -1 : zsqrt(-1) Date: Sun, 25 Aug 2024 17:13:46 GMT Organization: Institut fuer Computersprachen, Technische Universitaet Wien Lines: 17 Message-ID: <2024Aug25.191346@mips.complang.tuwien.ac.at> References: Injection-Date: Sun, 25 Aug 2024 19:15:40 +0200 (CEST) Injection-Info: dont-email.me; posting-host="b991ea52a6a9f7550fd96e0e49f7f7ea"; logging-data="2115103"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19j314VvqNtamUHD5RdPa1G" Cancel-Lock: sha1:ehjqof7JUvB4uB0ZtOavEagtzUk= X-newsreader: xrn 10.11 Bytes: 1366 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.html comp.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