immutable class F_INTEGER < $F_NUMBER{F_INTEGER}, $F_SCALAR |
---|
**** | FORTRAN INTEGER*4 type (built in type) |
$F_SCALAR | $IS_EQ | $STR | $F_NUMBER{_} | $NIL | $IS_NIL |
create(x:INT):F_INTEGER |
---|
div(i:SAME):SAME |
---|
int:INT |
---|
**** | A Sather integer version of self |
is_eq(i:SAME):BOOL |
---|
is_eq(arg: $OB): BOOL .. Included as is_eq |
---|
is_lt(i:SAME):BOOL |
---|
is_nil:BOOL |
---|
minus(i:SAME):SAME |
---|
nil:SAME |
---|
**** | let Sather handle this (we are confused by the philosophical impilations of nil vs void vs unitialized vs zero |
plus(i:SAME):SAME |
---|
str:STR |
---|
times(i:SAME):SAME |
---|
zero:SAME |
---|