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

Method __neg__

Lib/decimal.py:1061–1081  ·  view source on GitHub ↗

Returns a copy with the sign switched. Rounds, if it has reason.

(self, context=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

__abs__Method · 0.95
minusMethod · 0.45

Calls 5

_check_nansMethod · 0.95
copy_absMethod · 0.95
copy_negateMethod · 0.95
getcontextFunction · 0.85
_fixMethod · 0.45

Tested by

no test coverage detected