Interval arithmetic for Ada 1.10

Interval arithmetic for Ada is a math library that provides an implementation of intervals for Ada.
Interval arithmetic for Ada is a math library that provides an implementation of intervals for Ada. It includes arithmetic and relational operations.

Examples:

Tri-state logic

The package Intervals serves as a root package and also provides tri-state logic necessary to define relational operations on intervals. The type Logical is defined as:

type Logical is (False, True, Uncertain);

The following operations are defined for Logical:

function "not" (Left : Logical) return Logical;
function "and" (Left, Right : Logical) return Logical;
function "and" (Left : Logical; Right : Boolean)
return Logical;
function "and" (Left : Boolean; Right : Logical)
return Logical;
function "or" (Left, Right : Logical) return Logical;
function "or" (Left : Logical; Right : Boolean)
return Logical;
function "or" (Left : Boolean; Right : Logical)
return Logical;
function "xor" (Left, Right : Logical) return Logical;
function "xor" (Left : Logical; Right : Boolean)
return Logical;
function "xor" (Left : Boolean; Right : Logical)
return Logical;

last updated on:
February 14th, 2012, 12:08 GMT
price:
FREE!
developed by:
Dmitry A. Kazakov
homepage:
www.dmitry-kazakov.de
license type:
GMGPL (GNAT Modified GPL)
category:
ROOT \ Science and Engineering \ Mathematics

FREE!

In a hurry? Add it to your Download Basket!

user rating 17

2.5/5
 

0/5

What's New in This Release:
  • This release is packaged for Fedora and Debian 32- and 64-bit x86 architectures.
read full changelog

Add your review!

SUBMIT