Exemplo n.º 1
0
 public static NeuFloat Multiply(
     this NeuInterpreter interpreter,
     NeuFloat lhs,
     NeuFloat rhs)
 {
     return(new NeuFloat(lhs.Value * rhs.Value));
 }
 public static NeuFloat Add(
     this NeuInterpreter interpreter,
     NeuFloat lhs,
     NeuFloat rhs)
 {
     return(new NeuFloat(lhs.Value + rhs.Value));
 }
Exemplo n.º 3
0
 public static NeuFloat Subtract(
     this NeuInterpreter interpreter,
     NeuFloat lhs,
     NeuFloat rhs)
 {
     return(new NeuFloat(lhs.Value - rhs.Value));
 }
 public static NeuFloat Divide(
     this NeuInterpreter interpreter,
     NeuFloat lhs,
     NeuFloat rhs)
 {
     return(new NeuFloat(lhs.Value / rhs.Value));
 }