Skip to content

core / org.pinelang.core / PineNumber

PineNumber

interface PineNumber<T>

Functions

Name Summary
div abstract operator fun div(other:PineExpr<*>):PineExpr<T>
minus abstract operator fun minus(other:PineExpr<*>):PineExpr<T>
plus abstract operator fun plus(other:PineExpr<*>):PineExpr<T>
rem abstract operator fun rem(other:PineExpr<*>):PineExpr<T>
times abstract operator fun times(other:PineExpr<*>):PineExpr<T>
toDouble abstract fun toDouble():PineExpr<Double>
toInt abstract fun toInt():PineExpr<Int>

Inheritors

Name Summary
PineDouble class PineDouble :PineNumber<Double>,PineExpr<Double>
PineInt class PineInt :PineNumber<Int>,PineExpr<Int>