mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 07:41:12 +00:00
Int Abs
This commit is contained in:
parent
41af22a2ac
commit
1d1f620090
7 changed files with 80 additions and 7 deletions
|
@ -1094,7 +1094,7 @@ fn call_with_args<'a, 'ctx, 'env>(
|
|||
|
||||
BasicValueEnum::FloatValue(float_val)
|
||||
}
|
||||
Symbol::NUM_ABS | Symbol::INT_ABS => todo!("implement intrinsic for int_abs"),
|
||||
// Symbol::NUM_ABS | Symbol::INT_ABS => todo!("implement intrinsic for int_abs"),
|
||||
Symbol::FLOAT_ABS => call_intrinsic(LLVM_FABS_F64, env, args),
|
||||
Symbol::INT_GTE | Symbol::NUM_GTE => {
|
||||
debug_assert!(args.len() == 2);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue