Usage
Just put longdecimal.rb in your path and add load “longdecimal.rb” to your ruby-file. Please read the code to get an idea how to use this.
To test on Linux/Unix: go into a directory long-decimal, put longdecimal.rb into a sub-directory lib and testlongdecimal.rb into a sub-directory test. This is the directory structure you get when unpacking the tar.gz archive. Then:
chmod +x test/testlongdecimal.rb
and run it:
./test/testlongdecimal.rb
You should not get any error nor any failure. The tests will take a minute or so, depending on the CPU-speed of your machine.
License
Ruby’s license or LGPL Find copies of these licenses on www.gnu.org/ or www.ruby-lang.org/
Warranty
This is a pre-alpha-version. Do not expect too much! This is work in progress! I do not take any responsibility. Please use it as it is, change it according to the terms of the license or wait for a more stable version (for wich I can’t take any warranty either…)
Author
Karl Brodowsky www.velofahren.de/cgi-bin/mailform.cgi (no direct mail address because I do not like spam)