Tagged articles
5 articles
Page 1 of 1
php Courses
php Courses
Jul 10, 2024 · Backend Development

Fast Multiplication of Large Integers Using PHP GMP Library

This article explains the fundamentals of large integer multiplication, introduces the efficient GMP library in PHP, describes the fast multiplication algorithm that reduces complexity from O(n²) to O(n log n), and provides a complete PHP code example implementing the method.

GMPbig integer
0 likes · 9 min read
Fast Multiplication of Large Integers Using PHP GMP Library
php Courses
php Courses
May 28, 2024 · Backend Development

Fast Multiplication of Large Integers Using PHP GMP Library

This article explains how to use PHP's GMP extension to perform fast multiplication of large integers by applying a divide‑and‑conquer algorithm, reducing the complexity from quadratic to near‑linear, and provides a complete PHP implementation with example code.

BackendGMPPHP
0 likes · 4 min read
Fast Multiplication of Large Integers Using PHP GMP Library
php Courses
php Courses
Mar 12, 2024 · Fundamentals

Fast Multiplication of Large Integers Using PHP GMP Library

This article explains how to perform fast multiplication of large integers in PHP by leveraging the GNU Multiple Precision (GMP) library, introduces the underlying fast multiplication algorithm that reduces complexity from O(n²) to O(n log n), and provides a complete PHP code example implementing the method.

PHPalgorithmbig integer
0 likes · 5 min read
Fast Multiplication of Large Integers Using PHP GMP Library
ByteFE
ByteFE
Oct 19, 2021 · Frontend Development

TypeScript Type‑Level Implementation of Large Integer Addition

This article explains how to perform high‑precision addition of arbitrarily large numbers entirely at compile time using TypeScript's type system, converting strings to digit arrays, adding digits with lookup tables, handling carries, and finally converting the result back to a string.

Compile-timeGeneric TypesTypeScript
0 likes · 9 min read
TypeScript Type‑Level Implementation of Large Integer Addition