[Top][All Lists]

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

[Arg-parser-bug] Rational 1.7 released

From: Antonio Diaz Diaz
Subject: [Arg-parser-bug] Rational 1.7 released
Date: Mon, 29 Jun 2020 19:15:34 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv: Gecko/20110420 SeaMonkey/2.0.14

I am pleased to announce the release of Rational 1.7.

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.

Rational provides a 'parse' function that can be used to obtain values exactly representable by small fractions like '0.1', '1/3' or '355/113' from the command line.

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 sha256sum is:
18738071307d2cf0845a63964a4be39487e1fc3f59184a65a84ab5c4e152797a rational-1.7.tar.lz

This release is also GPG signed. You can download the signature by appending '.sig' to the URL. If the 'gpg --verify' command fails because you don't have the required public key, then run this command to import it:

  gpg --keyserver --recv-keys 8FE99503132D7742

Key fingerprint = 1D41 C14B 272A 2219 A739  FA4F 8FE9 9503 132D 7742

Changes in version 1.7:

  * Minor fixes.

* The option '-g, --golden-ratio', which calculates rational approximations of (1 + sqrt(5)) / 2, has been added to the test program.

Please send bug reports and suggestions to

Antonio Diaz, Rational author and maintainer.
Self-determination is a human right. Free Catalan political prisoners.
If you care about interoperability and long-term archiving, please help me replace xz with lzip. See and Thanks.

reply via email to

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