MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / fx_Math_acos

Function fx_Math_acos

xs/sources/xsMath.c:132–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

130}
131
132void fx_Math_acos(txMachine* the)
133{
134 mxNanResultIfNoArg;
135 fxToNumber(the, mxArgv(0));
136 mxResult->kind = XS_NUMBER_KIND;
137 mxResult->value.number = c_acos(mxArgv(0)->value.number);
138}
139
140void fx_Math_acosh(txMachine* the)
141{

Callers

nothing calls this directly

Calls 1

fxToNumberFunction · 0.85

Tested by

no test coverage detected