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

Method angularUnit

src/compute-engine/index.ts:676–678  ·  view source on GitHub ↗

* The unit used for unitless angles in trigonometric functions. * * - `rad`: radian, $2\pi$ radians is a full circle * - `deg`: degree, 360 degrees is a full circle * - `grad`: gradians, 400 gradians is a full circle * - `turn`: turn, 1 turn is a full circle * * Default is `"rad

()

Source from the content-addressed store, hash-verified

674 else r._sumVariants = s.sumVariants;
675 // The redefinition stamp (see the snapshot above). Deliberately NOT
676 // counted as a `changed` field: it selects nothing a boxed expression
677 // could have read, so restoring it alone must not cold every
678 // mutation-keyed cache — the same reasoning that makes the whole
679 // bump conditional. (The P47 `_implOrigin` restore below is silent for
680 // the same reason.)
681 if (s.declOrigin === undefined) delete r._declOrigin;

Callers

nothing calls this directly

Calls 2

_resetMethod · 0.95
setAngularUnitMethod · 0.80

Tested by

no test coverage detected