MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / abs

Method abs

Lib/decimal.py:3957–3976  ·  view source on GitHub ↗

Returns the absolute value of the operand. If the operand is negative, the result is the same as using the minus operation on the operand. Otherwise, the result is the same as using the plus operation on the operand. >>> ExtendedContext.abs(Decimal('2.1'))

(self, a)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

__pow__Method · 0.80

Calls 2

_convert_otherFunction · 0.85
__abs__Method · 0.45

Tested by

no test coverage detected