Esempio 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));
 }
Esempio 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));
 }