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

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

[Octave-bug-tracker] [bug #64726] Current betainc function has a minor (


From: anonymous
Subject: [Octave-bug-tracker] [bug #64726] Current betainc function has a minor (more cosmetic) bug
Date: Fri, 29 Sep 2023 05:12:19 -0400 (EDT)

Follow-up Comment #2, bug #64726 (project octave):

@type coversion:

A design principle within octave is that the key input variable data type
determines the output data type.

So if x is a float one would expect (and gets) a float as output type. 

Therefore one might expect an int as output type if x has int as input type.

Note that the numerical result is 0 or 1 so an integer value even when the
data type may be different.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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