2022-04-26 21:38:15 +08:00
|
|
|
#api
|
2021-10-11 19:41:50 +08:00
|
|
|
from PikaObj import *
|
|
|
|
|
|
|
|
class Operator(TinyObj):
|
|
|
|
def plusInt(num1: int, num2: int) -> int:
|
|
|
|
pass
|
|
|
|
|
|
|
|
def plusFloat(num1: float, num2: float) -> float:
|
|
|
|
pass
|
|
|
|
|
|
|
|
def minusInt(num1: int, num2: int) -> int:
|
|
|
|
pass
|
|
|
|
|
|
|
|
def minusFloat(num1: float, num2: float) -> float:
|
|
|
|
pass
|
|
|
|
|
|
|
|
def equalInt(num1: int, num2: int) -> int:
|
|
|
|
pass
|
|
|
|
|
|
|
|
def equalFloat(num1: float, num2: float) -> int:
|
|
|
|
pass
|
|
|
|
|
|
|
|
def graterThanInt(num1: int, num2: int) -> int:
|
|
|
|
pass
|
|
|
|
|
|
|
|
def graterThanFloat(num1: float, num2: float) -> int:
|
|
|
|
pass
|
|
|
|
|
|
|
|
def lessThanInt(num1: int, num2: int) -> int:
|
|
|
|
pass
|
|
|
|
|
|
|
|
def lessThanFloat(num1: float, num2: float) -> int:
|
|
|
|
pass
|
|
|
|
|
|
|
|
def AND(flag1: int, flag2: int) -> int:
|
|
|
|
pass
|
|
|
|
|
|
|
|
def OR(flag1: int, flag2: int) -> int:
|
|
|
|
pass
|
|
|
|
|
|
|
|
def NOT(flag: int) -> int:
|
|
|
|
pass
|