sponsor Vim development Vim logo Vim Book Ad

magnum.vim : Pure Vim script big integer library

 script karma  Rating 0/0, Downloaded by 125    Comments, bugs, improvements  Vim wiki

created by
script type
Magnum is a big integer library for Vim plugins written entirely in Vim script. Currently it provides just a small set of predicates, arithmetic, and conversion operations. It also includes a simple random number generator.

Complete documentation is included and can be accessed via ":h magnum".

Additional materials (usage examples, test suite, references) are available at the plugin home on GitHub.

This plugin depends on Google's Maktaba library.
install details
Unzip the archive in your ~/.vim directory. (On Windows, replace "~/.vim" with "%HOME%\vimfiles".)

If you use a plugin management system use the installation procedure appropriate to your setup.

Keep in mind that magnum.vim depends on the Maktaba plugin, so be sure to install that as well if your plugin manager doesn't handle dependencies for you. For example, with pathogen.vim the installation goes:

git clone https://github.com/google/vim-maktaba.git ~/.vim/bundle/maktaba
git clone https://github.com/glts/vim-magnum.git ~/.vim/bundle/magnum

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
magnum-1.1.0.zip 1.1.0 2014-10-03 7.3 glts Added random number generator
magnum-1.0.2.zip 1.0.2 2014-07-19 7.3 glts Improved uncaught exception messages
magnum-1.0.1.zip 1.0.1 2014-06-14 7.3 glts Removed undocumented exception in Integer.Pow
Improved performance of Integer.Pow
magnum-1.0.0.zip 1.0.0 2014-02-28 7.3 glts Initial upload
ip used for rating:

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
SourceForge.net Logo