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
{{ message }}
This repository has been archived by the owner on Nov 6, 2023. It is now read-only.
Basically since Blæst is a single typed language, some things need to be inferred, some need to be explicitly stated. Using these operator modifiers, a single character, either f for floating point, s for signed, and u for unsigned can be applied to comparison (<, >) or arithmetic (+, -, *, /) operators to make those operators use appropriate opcode for translation. By default u is implied, so using it is only for clarification.
Examples: x = 0.5 f+ 0.5; if(-1 s< 5){
The text was updated successfully, but these errors were encountered:
Basically since Blæst is a single typed language, some things need to be inferred, some need to be explicitly stated. Using these operator modifiers, a single character, either
f
for floating point,s
for signed, andu
for unsigned can be applied to comparison (<, >) or arithmetic (+, -, *, /) operators to make those operators use appropriate opcode for translation. By defaultu
is implied, so using it is only for clarification.Examples:
x = 0.5 f+ 0.5;
if(-1 s< 5){
The text was updated successfully, but these errors were encountered: