MathIntTy

esmeta.ty.MathIntTy
See theMathIntTy companion object
case class MathIntTy(int: IntTy) extends MathTy

types for mathematical integers

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait MathTy
trait Lattice[MathTy]
trait TyElem
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def %(that: MathTy): MathTy

modulo

modulo

Attributes

Inherited from:
MathTy
def &(that: MathTy): MathTy

bitwise operation (&)

bitwise operation (&)

Attributes

Inherited from:
MathTy
def &&(that: => MathTy): MathTy

intersection type

intersection type

Attributes

Inherited from:
MathTy
def *(that: MathTy): MathTy

multiplcation

multiplcation

Attributes

Inherited from:
MathTy
def **(that: MathTy): MathTy

exponentiation

exponentiation

Attributes

Inherited from:
MathTy
def +(that: MathTy): MathTy

addition

addition

Attributes

Inherited from:
MathTy
def -(that: MathTy): MathTy

subtraction

subtraction

Attributes

Inherited from:
MathTy
def --(that: => MathTy): MathTy

prune type

prune type

Attributes

Inherited from:
MathTy
def <<(that: MathTy): MathTy

shift left

shift left

Attributes

Inherited from:
MathTy
def <=(that: => MathTy): Boolean

partial order

partial order

Attributes

Inherited from:
MathTy
def >>(that: MathTy): MathTy

shift right

shift right

Attributes

Inherited from:
MathTy
def >>>(that: MathTy): MathTy

unsigned shift right

unsigned shift right

Attributes

Inherited from:
MathTy
def ^(that: MathTy): MathTy

bitwise operation (^)

bitwise operation (^)

Attributes

Inherited from:
MathTy
def canon: MathTy

This returns an canonical form of the mathematical type. 1) If the type is a set of integers, this must return MathIntTy. 2) Else if the gamma(type) is finite, then this must return MathSetTy. 3) Otherwise, this must return MathSignTy.

This returns an canonical form of the mathematical type. 1) If the type is a set of integers, this must return MathIntTy. 2) Else if the gamma(type) is finite, then this must return MathSetTy. 3) Otherwise, this must return MathSignTy.

Attributes

Returns

canonical form of the mathematical type

Inherited from:
MathTy
def contains(math: Math): Boolean

inclusion check

inclusion check

Attributes

Inherited from:
MathTy

get single value

get single value

Attributes

Inherited from:
MathTy
def isBottom: Boolean

bottom check

bottom check

Attributes

Inherited from:
MathTy
def isInt: Boolean

integral check

integral check

Attributes

Inherited from:
MathTy
def isNeg: Boolean

negative check

negative check

Attributes

Inherited from:
MathTy
def isNegInt: Boolean

negative integral check

negative integral check

Attributes

Inherited from:
MathTy
def isNonNeg: Boolean

non-negative check

non-negative check

Attributes

Inherited from:
MathTy
def isNonNegInt: Boolean

non-negative integral check

non-negative integral check

Attributes

Inherited from:
MathTy
def isNonPos: Boolean

non-positive check

non-positive check

Attributes

Inherited from:
MathTy
def isNonPosInt: Boolean

non-positive integral check

non-positive integral check

Attributes

Inherited from:
MathTy
def isPos: Boolean

positive check

positive check

Attributes

Inherited from:
MathTy
def isPosInt: Boolean

positive integral check

positive integral check

Attributes

Inherited from:
MathTy
def isTop: Boolean

top check

top check

Attributes

Inherited from:
MathTy
def max(that: MathTy): MathTy

max operation

max operation

Attributes

Inherited from:
MathTy
def min(that: MathTy): MathTy

min operation

min operation

Attributes

Inherited from:
MathTy
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def prune(that: => MathTy, positive: Boolean): MathTy

prune operator

prune operator

Attributes

Inherited from:
Lattice
def toAtomicTys: List[MathTy]

to list of atomic math types

to list of atomic math types

Attributes

Inherited from:
MathTy
def toSign: Sign

Attributes

Inherited from:
MathTy

This returns a sign type of the mathematical type. May not return a canonical form.

This returns a sign type of the mathematical type. May not return a canonical form.

Attributes

Returns

sign type of the mathematical type

Inherited from:
MathTy
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
TyElem -> Any
Inherited from:
TyElem
def |(that: MathTy): MathTy

bitwise operation (|)

bitwise operation (|)

Attributes

Inherited from:
MathTy
def ||(that: => MathTy): MathTy

union type

union type

Attributes

Inherited from:
MathTy
def (that: => MathTy): Boolean

Attributes

Inherited from:
Lattice
def (that: => MathTy): MathTy

Attributes

Inherited from:
Lattice
def (that: => MathTy): MathTy

Attributes

Inherited from:
Lattice