This commit is contained in:
Brendan Hansknecht 2023-09-16 23:07:46 -07:00
parent e270f36422
commit 7a37a24e8c
No known key found for this signature in database
GPG key ID: 0EA784685083E75B

View file

@ -2168,12 +2168,12 @@ fn build_dec_unary_op<'a, 'ctx>(
use roc_module::low_level::LowLevel::*;
match op {
NumSin => dec_unary_op(env, &bitcode::DEC_SIN, arg),
NumCos => dec_unary_op(env, &bitcode::DEC_COS, arg),
NumTan => dec_unary_op(env, &bitcode::DEC_TAN, arg),
NumAsin => dec_unary_op(env, &bitcode::DEC_ASIN, arg),
NumAcos => dec_unary_op(env, &bitcode::DEC_ACOS, arg),
NumAtan => dec_unary_op(env, &bitcode::DEC_ATAN, arg),
NumSin => dec_unary_op(env, bitcode::DEC_SIN, arg),
NumCos => dec_unary_op(env, bitcode::DEC_COS, arg),
NumTan => dec_unary_op(env, bitcode::DEC_TAN, arg),
NumAsin => dec_unary_op(env, bitcode::DEC_ASIN, arg),
NumAcos => dec_unary_op(env, bitcode::DEC_ACOS, arg),
NumAtan => dec_unary_op(env, bitcode::DEC_ATAN, arg),
_ => {
unreachable!("Unrecognized dec unary operation: {:?}", op);