MCPcopy
hub / github.com/formatjs/formatjs / _isSignNegative

Method _isSignNegative

packages/bigdecimal/index.ts:692–697  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

690 // --- Internal helpers ---
691
692 private _isSignNegative(): boolean {
693 if (this._special === SpecialValue.NEGATIVE_INFINITY) return true
694 if (this._mantissa < 0n) return true
695 if (this._mantissa === 0n) return this._negativeZero
696 return false
697 }
698
699 private _specialArith(
700 other: BigDecimal,

Callers 3

timesMethod · 0.95
divMethod · 0.95
_specialArithMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected