MCPcopy Index your code
hub / github.com/endbasic/endbasic / exec

Method exec

std/src/numerics.rs:153–157  ·  view source on GitHub ↗
(&self, scope: Scope<'_>)

Source from the content-addressed store, hash-verified

151 }
152
153 fn exec(&self, scope: Scope<'_>) -> CallResult<()> {
154 debug_assert_eq!(1, scope.nargs());
155 let value = scope.get_double(0);
156 scope.return_double(value.abs())
157 }
158}
159
160/// The `ACOS` function.

Callers

nothing calls this directly

Calls 11

to_angleFunction · 0.85
double_to_integerFunction · 0.85
get_angleFunction · 0.85
get_doubleMethod · 0.80
return_doubleMethod · 0.80
get_posMethod · 0.80
return_integerMethod · 0.80
nargsMethod · 0.80
get_integerMethod · 0.80
lastMethod · 0.80
nextMethod · 0.45

Tested by

no test coverage detected