[Cuis-dev] Negative sqrt
Gerald Klix
cuis.01 at klix.ch
Tue Dec 29 03:18:45 PST 2020
On 2020-12-29 11:59, Gerald Klix via Cuis-dev wrote:
> On 2020-12-29 05:15, ken.dickey at whidbey.com wrote:
>> On 2020-12-28 10:46, Juan Vuletich via Cuis-dev wrote:
>>
>>> Ok. Making the existence of the Complex package easier to discover is
>>> a good idea. Just pushed an update, in the #defaultAction of
>>> NegativePowerError. Please take a look.
>>
>> Looks great to me.
>>
>> Thanks a bunch!
>> -KenD
>
> Sorry to report some strange behavior:
> Sometimes the debugger window appears alongside the menu. Sometimes it
> does not, answering a NaN, if you click outside the menu or choose not
> to install the Complex package. Until now I could not find any pattern.
>
> I will test it with a clean image, soon.
>
>
> HTH,
>
> Gerald
Retested with a clean 4503 release image,
which I created from a clean copy of a 4426 image, installing all
updates and saving it as a new release:
'-4 sqrt' displays the menu and If I choose not to load the Complex
package it pops up a debugger. If I choose proceed in the debugger,
it answers an instance of the NegativePowerError
exception.
Choosing the same menu option with '-4.0 sqrt' directly answers a NaN.
Juan, I presume that is not the behavior you intended. Please tell me,
if I should test with a 32-bit image, that only has boxed floats.
HTH,
Gerald
More information about the Cuis-dev
mailing list