Replies: 3 comments 3 replies
-
Thanks, Objeck follows the C standard. I will update the guide.
…On Thu, Jan 26, 2023 at 11:57 AM iqskpduswupkcjqg ***@***.***> wrote:
The Getting Started page has no information regarding this:
https://objeck.org/getting_started.html#lits_vars
C has a very detailed reference:
https://en.cppreference.com/w/cpp/language/integer_literal
https://en.cppreference.com/w/cpp/language/floating_literal
—
Reply to this email directly, view it on GitHub
<#111>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAHRT4IXTRAGEOWFIGOGSRLWULJMNANCNFSM6AAAAAAUH43CUQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
3 replies
-
@iqskpduswupkcjqg, Thanks for the assistance. Please refer to the strtol C function. Objeck uses the wide-character version of this function to convert strings to integers. I should clarify that Objeck reads and writes integer literals as 32-bit values however internally, integers and doubles are both 64-bits on all targets. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I added binary literal support per the C++14 standard |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The Getting Started page has no information regarding this:
https://objeck.org/getting_started.html#lits_vars
C has a very detailed reference:
https://en.cppreference.com/w/cpp/language/integer_literal
https://en.cppreference.com/w/cpp/language/floating_literal
Beta Was this translation helpful? Give feedback.
All reactions