[Top][All Lists]

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

[Arg-parser-bug] Rational 1.8 released

From: Antonio Diaz Diaz
Subject: [Arg-parser-bug] Rational 1.8 released
Date: Thu, 10 Feb 2022 18:12:55 +0100
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.8.

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:
ca6c092e5e2102504530b0cf612282901cc3418153f7f0ccb70828fc7b26c956 rational-1.8.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.8:

* The function 'to_decimal' now accepts the argument 'rounding' to round up the last digit produced if the next one would be >= 5.

Please send bug reports and suggestions to

Antonio Diaz, Rational author and maintainer.

If you care about data safety and long-term archiving, please consider using lzip. See and Thanks.

reply via email to

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