Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

Delphi implementation of Int128 and UInt128 data type using operator overloading.

Valid range for Int128: -170,141,183,460,469,231,731,687,303,715,884,105,728 to 170,141,183,460,469,231,731,687,303,715,884,105,727

Valid range for UInt128: 0 to 340,282,366,920,938,463,463,374,607,431,768,211,455

Example

uses int128impl;

var a: Int128;

begin
  a := High(UInt64);   // 18446744073709551615
  a := 2 * a;
  WriteLn(a.ToString); // 36893488147419103230
  Readln;
end.

About

Delphi implementation of int128 data type using operator overloading

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages