On 10/10/19 8:01 PM, Nicholas Jankowski
wrote:
On 10/10/19 3:21 PM, Michael D Godfrey wrote:
>
>
> On 10/10/19 7:23 PM, Rik wrote:
>> All,
>>
>> When using "format hex" the output uses lowercase
letters a-f to
>> represent
>> 10-15. This is fine, and compatible with Matlab.
>>
>> However, in my background as an electrical
engineer, I prefer to see this
>> as uppercase letters A-F. Is there any interest in
extending Octave to
>> support this?
>>
seems like a fairly low risk expansion of
capability. Is there any case someone can think of where
this would cause a conflict of some kind? Will it need to
extend to any other I/o or math functions?
One risk is that some code might be setting a format and then using
"evalc(...)" to capture output and using the results
programmatically. (IMHO this is a terrible code pattern, but it is
indeed something you can do...)
I think this is still very low risk if the uppercase behavior is
activated by an Octave-specific extension to the "format hex"
command that you have to explicitly request; there's no way any
ported Matlab code would be doing that.
Andrew
|