Deutsch   English   Français   Italiano  
<2024Aug28.103612@mips.complang.tuwien.ac.at>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!weretis.net!feeder8.news.weretis.net!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: Wed, 28 Aug 2024 08:36:12 GMT
Organization: Institut fuer Computersprachen, Technische Universitaet Wien
Lines: 21
Message-ID: <2024Aug28.103612@mips.complang.tuwien.ac.at>
References: <cc2a1ec5eae8d18d290b398af3c013cb@www.novabbs.com> <2024Aug25.191346@mips.complang.tuwien.ac.at> <c02b8db68bf735b5c30c7d5979b942a3@www.novabbs.com>
Injection-Date: Wed, 28 Aug 2024 10:38:17 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="6ebaef1345a01f1a7b664e64a9bbef46";
	logging-data="3594387"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+1Tpjy6SRzCJXxD0uMHYnw"
Cancel-Lock: sha1:e5ZImn5bkFbTUc41IMWvVWUr89U=
X-newsreader: xrn 10.11
Bytes: 1582

melahi_ahmed@yahoo.fr (ahmed) writes:
>Another one (always with complex.fs included):
>
>0e 0e 0e 0e z** z. NaNai  ok
>
>it must be 1 ( tested with python, julia and matlab)
>
>and
>0e 0e 1e 0e z** z. NaNai  ok, it must be 0

Thanks.  Fixed in the git head:

0e 0e 0e 0e z** z. 1.  ok
0e 0e 1e 0e z** z. 0  ok

- 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