[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #64538] 1/x calculates wrong when mapped on an
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #64538] 1/x calculates wrong when mapped on an array of floats |
Date: |
Thu, 10 Aug 2023 02:28:45 -0400 (EDT) |
URL:
<https://savannah.gnu.org/bugs/?64538>
Summary: 1/x calculates wrong when mapped on an array of
floats
Group: GNU Octave
Submitter: None
Submitted: Thu 10 Aug 2023 06:28:42 AM UTC
Category: Octave Function
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name: VB
Originator Email: vb.optimo@hotmail.de
Open/Closed: Open
Release: 8.2.0
Discussion Lock: Any
Operating System: Microsoft Windows
Fixed Release: None
Planned Release: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Thu 10 Aug 2023 06:28:42 AM UTC By: Anonymous
>> 1/[1.0,0.1]
error: operator /: nonconformant arguments (op1 is 1x1, op2 is 1x2)
>> 1/[0.1,0.2,0.3]
error: operator /: nonconformant arguments (op1 is 1x1, op2 is 1x3)
>> 1/[0.1,0.2,0.3]'
ans =
0.7143 1.4286 2.1429
>> 1.0 /[0.1,0.2,0.3]'
ans =
0.7143 1.4286 2.1429
>> 1.0 /([0.1,0.2,0.3]')
ans =
0.7143 1.4286 2.1429
>>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?64538>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #64538] 1/x calculates wrong when mapped on an array of floats,
anonymous <=