[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Extending parser to accept '_' in numbers
From: |
Mike Miller |
Subject: |
Re: Extending parser to accept '_' in numbers |
Date: |
Tue, 6 Oct 2015 12:54:51 -0400 |
On Mon, Oct 5, 2015 at 14:16:53 -0700, Rik wrote:
> The next thing I'd like to do is add support for binary constants. It's
> nice that Octave accepts hex constants '0x...', but working in electrical
> engineering I often find that I would like to write a binary constant '0b...'
Definitely! Is there a bug/task tracker item for this or do you expect
it to be quick and painless enough that there's no need?
Another nice extension to hex integer constants would be hex float
constants, in the style of GCC [1].
[1]: https://gcc.gnu.org/onlinedocs/gcc/Hex-Floats.html
--
mike