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

Breadcrumb

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

function NativeCalculator::divR

Overrides Calculator::divR

1 call to NativeCalculator::divR()
NativeCalculator::modPow in vendor/brick/math/src/Internal/Calculator/NativeCalculator.php
Algorithm from: https://www.geeksforgeeks.org/modular-exponentiation-power-in-modular-a…

File

vendor/brick/math/src/Internal/Calculator/NativeCalculator.php, line 124

Class

NativeCalculator
Calculator implementation using only native PHP code.

Namespace

Brick\Math\Internal\Calculator

Code

public function divR(string $a, string $b) : string {
    return $this->divQR($a, $b)[1];
}

API Navigation

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