Skip to content

nimpylib/intobject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

intobject

Test Docs


Docs

big integer library for Nim, a.k.a. arbirary precision ineger or bignums

This library is initially used for implementing python's int (a.k.a. npyhon's)

why not use existing library?

python's int object has too many methods/relative functions, none of existing supports all as of now.

For example, pkg/bigints lacks int.to_bytes, int.from_bytes

Features

  • support weird targets (NimScript and JS)
  • support Compile-Time usage
  • mix Nim builtin integers (SomeInteger) e.g. 1'iobj + 3 == 4

Packages

 
 
 

Contributors

Languages