[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #53128] Warn about implicit casts from int to
From: |
Mike Miller |
Subject: |
[Octave-bug-tracker] [bug #53128] Warn about implicit casts from int to double |
Date: |
Tue, 26 Feb 2019 14:17:47 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.119 Safari/537.36 |
Update of bug #53128 (project octave):
Severity: 3 - Normal => 1 - Wish
Priority: 5 - Normal => 3 - Low
Release: 4.0.0 => dev
_______________________________________________________
Follow-up Comment #7:
To attempt to summarize, this is about adding a warning message to subsasgn,
i.e. the binary assignment operator '=' when RHS is a subscripted expression,
when the left operand is a double precision type and the right operand is an
integer type.
If there is no subscripted assignment, the left operand is simply overwritten
and gets the type of the right operand, no warning should be issued.
This is not a Matlab compatibility issue, this would be an enhancement for
users who are not aware of this well-defined typecasting behavior on
assignment. If we do add this warning to Octave, it should probably be
disabled by default, but interested users can enable it using the warning ID.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?53128>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-bug-tracker] [bug #53128] Warn about implicit casts from int to double,
Mike Miller <=