## from Qualitative values to Numbers, with arbitrary precision

QtoNum at Source Forge       more software at basic lab book

Copyright (C) 2010, 2011 Eric Fimbel. Contact : basicLabBook@gmail.com. See license terms at bottom

Publication: Fimbel, E.J. (2013). QtoNum: from Qualitative values to NUMbers with arbitrary precision. 31p. download publication (pdf).

Tecnalia - Fatronik supported this open source software in 2010-2011

### Standalone. For Windows only. Contains its own copy of Python (2.4) and of the calculus library gmpy.

Uninstallation: delete the installation directory.

### What is QtoNum?

QtoNum is a calculator for qualitative values (-, +), intervals and crisp numbers with arbitrary precision.
QtoNum also handles infinitesimals and infinites. All these types can be mixed in expressions and conversions are performed automatically.

QtoNum can be used as interactive calculator (command line) and as a calculus library.

### Features

Supported types:

Q: qualitative values (-, 0, +)

Qii: qualitative values with infinitesimal and infinites (-INF, --, -, 0-, 0, 0+, +, ++, +INF)

R: rational numbers with arbitrary precision

Rii: rational numbers, crisp or with infinitesimal region (e.g., ]12, ~12), infinites

I: intervals (of rational numbers)

Iii: general intervals with infinites or infinitesimal regions at boundaries, e.g., ~12,13]

Qs: Q-sequences, qualitative sequences or arbitrary length.

Conversions: implicit (on demand) or explicit (casting of types)

Operations:

Arithmetic, binary: addition, subtraction, product, division, integer division, modulo, min, max.

Arithmetic unary: neg (-x) pos (+x), ceil, floor

Boolean: and, or, xor, not

Comparisons: eq, ne, gt, ge, lt, le, in (inclusion), nz (not zero)

Miscellaneous: rand, span (numerical boundaries), str (conversion to string, multiple formats), type (returns type), ok (defined/undefined value)