MCPcopy Create free account
hub / github.com/cortex-js/compute-engine / atan

Function atan

src/compute-engine/interval/trigonometric.ts:290–295  ·  view source on GitHub ↗
(x: Interval | IntervalResult)

Source from the content-addressed store, hash-verified

288 }
289
290 // Case 2: Check if interval contains a pole at pi/2 + n*pi (the location
291 // is a refinement hint)
292 const poleAt = poleSearchApplies(xVal)
293 ? extremumWithin(xVal, HALF_PI, PI)
294 : undefined;
295 // `tan` increases on a branch: it tends to `+∞` at a pole above the
296 // interval and to `−∞` at a pole below it.
297 if (poleAt !== undefined)
298 return poleAnswer(xVal, poleAt, HALF_PI, (e, side) => {

Callers 1

Calls 3

unwrapOrPropagateFunction · 0.90
okFunction · 0.90
atanMethod · 0.80

Tested by

no test coverage detected