mirror of
https://github.com/egormanga/Slang.git
synced 2025-08-01 09:26:58 +03:00
Latest changes back from 2021, before starting from scratch.
This commit is contained in:
@@ -19,13 +19,14 @@ class int {
|
||||
int operator *int;
|
||||
int operator //int;
|
||||
int operator **int;
|
||||
int operator %int;
|
||||
int operator <<int;
|
||||
int operator >>int;
|
||||
int operator ∫
|
||||
int operator ^int;
|
||||
int operator |int;
|
||||
|
||||
range operator to int;
|
||||
range operator 'to' int;
|
||||
|
||||
int popcount();
|
||||
int length(int base=2);
|
||||
@@ -42,6 +43,7 @@ class float {
|
||||
float operator /float;
|
||||
int operator //float;
|
||||
float operator **float;
|
||||
float operator %float;
|
||||
|
||||
int round();
|
||||
bool isint();
|
||||
|
Reference in New Issue
Block a user