Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. BigInteger.php

function BigInteger::negated

Returns the inverse of this number.

1 call to BigInteger::negated()
BigInteger::abs in vendor/brick/math/src/BigInteger.php
Returns the absolute value of this number.

File

vendor/brick/math/src/BigInteger.php, line 692

Class

BigInteger
An arbitrary-size integer.

Namespace

Brick\Math

Code

public function negated() : BigInteger {
    return new BigInteger(Calculator::get()->neg($this->value));
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal