protected override DynamicValue ExecuteInternal(DynamicValue operand) { return(new DynamicValue(Math.Sinh(operand.ToDouble(null)))); }
protected override DynamicValue ExecuteInternal(DynamicValue operand1, DynamicValue operand2) { int digits = operand2.ToInt32(null); return(Math.Truncate(operand1.ToDouble(null) * Math.Pow(10, digits)) / Math.Pow(10, digits)); }
protected override DynamicValue ExecuteInternal(DynamicValue operand1, DynamicValue operand2) { // TODO: check if Remainder in FDO is identical to Math.IEEERemainder return(new DynamicValue(Math.IEEERemainder(operand1.ToDouble(null), operand2.ToDouble(null)))); }
protected override DynamicValue ExecuteInternal(DynamicValue operand1, DynamicValue operand2) { return(new DynamicValue(Math.Round(operand1.ToDouble(null), operand2.ToInt32(null)))); }
protected override DynamicValue ExecuteInternal(DynamicValue operand1, DynamicValue operand2) { return(new DynamicValue(operand1.ToDouble(null) % operand2.ToDouble(null))); }