mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Added pow macros to math module.
This commit is contained in:
committed by
Christoffer Lerno
parent
b086c85d9f
commit
e070bf22ee
@@ -123,6 +123,8 @@ macro bool is_subarray_convertable($Type)
|
||||
$endswitch;
|
||||
}
|
||||
|
||||
macro bool is_int($Type) = $Type.kindof == TypeKind.SIGNED_INT || $Type.kindof == TypeKind.UNSIGNED_INT;
|
||||
|
||||
macro bool is_intlike($Type)
|
||||
{
|
||||
$switch ($Type.kindof):
|
||||
|
||||
Reference in New Issue
Block a user