[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Arg-parser-bug] Rational 1.2 released

From: Antonio Diaz Diaz
Subject: [Arg-parser-bug] Rational 1.2 released
Date: Tue, 31 Mar 2015 17:18:46 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.7.11) Gecko/20050905

I am pleased to announce the release of Rational 1.2.

Rational is a C++ class implementing rational numbers of limited size with overflow detection. Both numerator and denominator are of type 'int'.

Rational allows you to perform exact calculations and verify at any time if overflow has occurred. Rational does not throw exceptions.

The 'parse' function is intended as a mean of obtaining values exactly representable by small fractions from the command line, for example '0.1', '1/3' or '355/113'.

Rational is used in combination with Arg_parser in GNU ddrescue and GNU Ocrad.

The homepage is at

The sources can be downloaded from

The sha1sum is:
98acbda42e3621fa43e7523228be3f5c82d03cc1  rational-1.2.tar.lz

Changes in version 1.2:

* The option "-s, --sqrt", which calculates rational approximations of the square root of a integer, has been added to the test program.

* The targets "install-compress", "install-strip-compress" and "install-man-compress" have been added to the Makefile.

Please send bug reports and suggestions to address@hidden

Antonio Diaz, Rational author and maintainer.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]