You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue #749 is about supporting suffixes in int and float literals. To
align with C/C++, float literals are now of type 'Double' by default,
and you need the suffix 'f' to turn them into 'Float's. The 'l' suffix
turns them into 'LDouble's.
Note that this has a huge performance impact for rock, since now the 'Int', etc. types have to be resolved each individually. We could have a pool of types that are re-used, that would be hackish but work..
See "The type of the literal" section in there: http://en.cppreference.com/w/cpp/language/integer_literal
The text was updated successfully, but these errors were encountered: