octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #61565] nchoosek broken for integer inputs


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #61565] nchoosek broken for integer inputs
Date: Thu, 2 Dec 2021 04:00:54 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.55 Safari/537.36 Edg/96.0.1054.41

Update of bug #61565 (project octave):

                  Status:          Ready For Test => None                   

    _______________________________________________________

Follow-up Comment #12:

In Matlab R2021a:

>> nchoosek (uint64 (60), uint64 (30))

ans =

  uint64

   118264581564861424


No warning (which makes sense).

We should probably tweak that condition. And also use the correct `flintmax`
depending on whether the output `C` is double or single precision.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?61565>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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