示例#1
0
文件: LispNumber.cs 项目: nja/keel
 public abstract bool NumberEquals(LispNumber number);
示例#2
0
文件: LispNumber.cs 项目: nja/keel
 public abstract LispNumber DivideInto(LispNumber dividend);
示例#3
0
文件: LispNumber.cs 项目: nja/keel
 public abstract LispNumber Multiply(LispNumber factor);
示例#4
0
文件: LispNumber.cs 项目: nja/keel
 public abstract int CompareTo(LispNumber number);
示例#5
0
文件: LispNumber.cs 项目: nja/keel
 public abstract LispNumber DivideBy(LispNumber divisor);
示例#6
0
 public override LispNumber DivideInto(LispNumber dividend)
 {
     return dividend.DivideBy(this);
 }
示例#7
0
文件: LispNumber.cs 项目: nja/keel
 public abstract LispNumber Add(LispNumber addend);
示例#8
0
 public override LispNumber DivideBy(LispNumber divisor)
 {
     return divisor.DivideInto(this);
 }
示例#9
0
 public override int CompareTo(LispNumber number)
 {
     return -number.CompareTo(this);
 }
示例#10
0
 public override LispNumber Add(LispNumber addend)
 {
     return addend.Add(this);
 }
示例#11
0
 public override bool NumberEquals(LispNumber number)
 {
     return number.NumberEquals(this);
 }
示例#12
0
 public override LispNumber Multiply(LispNumber factor)
 {
     return factor.Multiply(this);
 }