Deutsch   English   Français   Italiano  
<vag698$2359q$1@dont-email.me>

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

Path: ...!feeds.phibee-telecom.net!3.eu.feeder.erje.net!feeder.erje.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Krishna Myneni <krishna.myneni@ccreweb.org>
Newsgroups: comp.lang.forth
Subject: Re: Complex square root of -1 : zsqrt(-1)
Date: Sun, 25 Aug 2024 16:04:40 -0500
Organization: A noiseless patient Spider
Lines: 24
Message-ID: <vag698$2359q$1@dont-email.me>
References: <cc2a1ec5eae8d18d290b398af3c013cb@www.novabbs.com>
 <2024Aug25.191346@mips.complang.tuwien.ac.at>
 <c02b8db68bf735b5c30c7d5979b942a3@www.novabbs.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 25 Aug 2024 23:04:41 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="7f7fd88a7c2423b68acb68644c5188a5";
	logging-data="2200890"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/xHCmM+rcFbH8er/bBWvw6"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:Lq5ilvRbVh5d2ch1aCZMKY2Qw8Q=
Content-Language: en-US
In-Reply-To: <c02b8db68bf735b5c30c7d5979b942a3@www.novabbs.com>
Bytes: 1779

On 8/25/24 12:38, ahmed wrote:
....
> 
> 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
> 
> in general, with gforth: 0e 0e (a+bi) z** gives false results,
> it must give 0e when (a+bi)<>0e.
> 
> So the definition of z** also must be revised.

Looking at this issue in more depth, there are mathematical arguments 
for the result of 0^0 to be treated as 1 or to be treated as undefined [1].


--
Krishna

1. https://en.wikipedia.org/wiki/Zero_to_the_power_of_zero