On 01/09/2014 03:08 PM, darkbatcher wrote:
Hi !
Why the hell want you to use litterals beginning with numbers ? for
years, most programming language have forbiden symbols beginning with
numbers, i can't see the benefits of such a feature. To me, it is
nothing but a bad idea...
About the support of hexadecimal notation, i had though about adding
such features for my own project. But i realised that the support of
hexadecimal values (refering to "integer hexadecimal") wasn't
interesting since hexadecimal notation is only interesting if logical
and bitwise operation are available, and that does not make sense as
libmatheval is designed for floating point features...
Regards,
Romain GARBI
Hi,
Because string literals are easy to work with and easy to understand.
And as you may know, I'm talking about color values.
The hex rgb representation of the color /green/ would be 00 FF 00.
Naturally, this ends up with string literals beginning with a number.
My program is not a programming language. My thoughts were simply, if
00FF00 can not be a valid value, why not just regard
it as a variable instead of a segfault?
Is libmatheval designed solely on floating point?
Joey