bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: linear algebra & LAPACK - questions and thoughts


From: Kacper Gutowski
Subject: Re: linear algebra & LAPACK - questions and thoughts
Date: Sun, 19 Apr 2020 22:02:52 +0200

On Sun, Apr 19, 2020 at 08:48:27PM +0200, Dr. Jürgen Sauermann wrote:
Not sure what;s wrong with your qt (character ?) since I don't have it.

This behavior is indicative of a NaN:

      ⊢NaN←12⎕CR17⎕CR'AAAgIAAAACAAAAABAgAAAAAAAAAAAPj/AAAAAAAAAAA='
0.000000000
      0×NaN
DOMAIN ERROR
      0×NaN
      ^ ^
      (⌈/⍳0) > NaN
1
      10⎕CR'NaN'
 NaN←0.0000000000000000
      2⎕TF'NaN'
NaN←0.0000000000000000


Which suggests there might be some bug in one of primitives used to compute that value as it shouldn't be possible to create NaN in APL by normal means and you should get a domain error somewhere earlier.

-k



reply via email to

[Prev in Thread] Current Thread [Next in Thread]