According to https://rosettacode.org/wiki/Non-decimal_radices/Input
at least perl 6, ruby and zkl have it.

Jon

On Fri, Oct 21, 2016 at 2:47 PM, Jon Harper <jon.harpe...@gmail.com> wrote:

> Hi list,
> what do you think about adding support for a new '0d' prefix to input
> numbers in base 10 ? It's rare in other programming languages (I know
> verilog has it in addtion to 'h and 'b) but the symmetry can be nice in
> some cases.
>
> Of course it would *not* replace the normal way of writing numbers, simply
> allow to emphasize that the number is in base 10.. It's useful when
> switching frequently between bases.
>
> So string>number would accept "0d99" for 99. number>string would not
> change.
>
> Cheers,
> Jon
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to