avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] Syntax : how to specifiy a binary constant ?


From: Rolf Ebert
Subject: Re: [avr-gcc-list] Syntax : how to specifiy a binary constant ?
Date: Fri, 23 Sep 2005 14:46:16 +0200
User-agent: Opera M2/8.50 (Win32, build 7700)

It seems I remember seeing in one language or another
that you COULD represent binary literals but I've
tinkered in so many who knows which it was.  Probably
Ada.

Yes, Ada has binary literals. (I am not sure, but I think it has literals in any base up to base 36, strange....)

  2#0101_1010#  ==  16#5A#  ==  10#90#

Rolf






reply via email to

[Prev in Thread] Current Thread [Next in Thread]