|
|
@@ -7,7 +7,8 @@ from .powers import match_add_exponents, match_subtract_exponents, \
|
|
|
match_remove_negative_exponent, match_exponent_to_root, \
|
|
|
match_extend_exponent, match_constant_exponent
|
|
|
from .numerics import match_add_numerics, match_divide_numerics, \
|
|
|
- match_multiply_numerics, match_multiply_zero, match_multiply_one
|
|
|
+ match_multiply_numerics, match_multiply_zero, match_multiply_one, \
|
|
|
+ match_raise_numerics
|
|
|
from .fractions import match_constant_division, match_add_constant_fractions, \
|
|
|
match_expand_and_add_fractions
|
|
|
from .negation import match_negated_factor, match_negate_polynome, \
|
|
|
@@ -27,7 +28,8 @@ RULES = {
|
|
|
match_constant_division, match_negated_division],
|
|
|
OP_POW: [match_multiply_exponents, match_duplicate_exponent,
|
|
|
match_remove_negative_exponent, match_exponent_to_root,
|
|
|
- match_extend_exponent, match_constant_exponent],
|
|
|
+ match_extend_exponent, match_constant_exponent,
|
|
|
+ match_raise_numerics],
|
|
|
OP_NEG: [match_negate_polynome],
|
|
|
OP_SIN: [match_negated_parameter, match_half_pi_subtraction,
|
|
|
match_standard_radian],
|