40 lines
558 B
Plaintext
40 lines
558 B
Plaintext
operator `<`*(a, b: int): bool {
|
|
#pragma[magic: "LessThanInt64", pure]
|
|
}
|
|
|
|
|
|
operator `-`*(a, b: float): float {
|
|
#pragma[magic: "SubFloat64", pure]
|
|
}
|
|
|
|
|
|
operator `-`*(a, b: int): int {
|
|
#pragma[magic: "SubInt64", pure]
|
|
}
|
|
|
|
|
|
operator `+`*(a, b: int): int {
|
|
#pragma[magic: "AddInt64", pure]
|
|
}
|
|
|
|
|
|
operator `/`*(a, b: int): int {
|
|
#pragma[magic: "DivInt64", pure]
|
|
}
|
|
|
|
|
|
fn clock*: float {
|
|
#pragma[magic: "SysClock64", pure]
|
|
}
|
|
|
|
|
|
fn print*(x: float) {
|
|
#pragma[magic: "GenericPrint"]
|
|
}
|
|
|
|
|
|
fn print*(x: int) {
|
|
#pragma[magic: "GenericPrint"]
|
|
}
|
|
|