use binary_pow for (^)/2

This commit is contained in:
Mark Thom
2019-04-22 19:48:09 -06:00
parent 59c21dbc3b
commit f9448e894e
4 changed files with 20 additions and 6 deletions

View File

@@ -249,7 +249,6 @@ impl RepFlag {
#[derive(Clone, Copy)]
pub enum EvalError {
// FloatOverflow,
// IntOverflow,
// Undefined,
// FloatUnderflow,
ZeroDivisor,
@@ -260,7 +259,6 @@ impl EvalError {
pub fn as_str(self) -> &'static str {
match self {
// EvalError::FloatOverflow => "float_overflow",
// EvalError::IntOverflow => "int_overflow",
// EvalError::Undefined => "undefined",
// EvalError::FloatUnderflow => "underflow",
EvalError::ZeroDivisor => "zero_divisor",