HP-71B: 1^Inf Error
|
06-10-2023, 02:40 PM
Post: #20
|
|||
|
|||
RE: HP-71B: 1^Inf Error
(06-10-2023 01:47 PM)EdS2 Wrote: I notice IEEE floating point specifies the result of 0 × ∞ as NaN. IEEE goal is not always mathematically correct. It tried to avoid NaN if possible, with a default numerical value to (hopefully) simplify code. https://www.open-std.org/jtc1/sc22/wg14/...eV5.10.pdf page 182 Wrote:pow(x,0) is specified to return 1 for any x, because there are significant applications where 1 is (06-09-2023 11:38 PM)rprosperi Wrote: I think this proves that Infinity is even, right? Yes! page 180 Wrote:The result of pow(–2,∞) is +∞, because all large positive floating-point values are even integers. --> pow(-1, ∞) = pow(1, ∞) = 1 Again, this is not mathematically sound, but only for "convenience" |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)