Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [epsilon-dev] Adding toHex operation to Integer

Hi Maarten,

Adding support for conversion between different number systems sounds
like a reasonable extension. +1 from me.

Cheers,
Dimitris

On 24 July 2014 15:09, Maarten Bezemer <maarten.bezemer@xxxxxxxxx> wrote:
> Hello all,
>
> I am currently in need to output the hexedecimal value of an integer (memory
> addresses) in my EGL scripts.
>
> I could write a tool to call the following Java code:
>
> Integer.toHexString(configuration.address)
>
> But it seems more nice to add a 'toHex()' operator to the Integer data type in
> EOL.
>
> Do you guys agree, or does this result in EOL getting too 'bloated'?
> As I assume that 'toOct()', 'toBin()', and etc. operators are going to added
> as well (as others probably will come with similar requests, or we want to
> support all 'major'  number systems).
>
> Cheers,
>   Maarten
> _______________________________________________
> epsilon-dev mailing list
> epsilon-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://dev.eclipse.org/mailman/listinfo/epsilon-dev



-- 
Dr Dimitris Kolovos
Lecturer in Enterprise Systems
LSCITS EngD Director
Department of Computer Science
University of York
http://www.cs.york.ac.uk/~dkolovos

EMAIL DISCLAIMER http://www.york.ac.uk/docs/disclaimer/email.htm


Back to the top