from Qualitative values to Numbers, with arbitrary precision

Eric J. Fimbel - Software - home page 

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



Windows XP and further, 25 Mb disk space.

No additional requirement. 

Note. Basic Experimenter is written in Python but it contains a local installation, i.e., it is standalone.

Installation and uninstallation

QtoNum comes in 2 installations:

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

Installation: unzip the download in any directory.

Uninstallation: delete the installation directory.

Python library. For Windows and Linux, requires Python version 2.3 to 2.7, and gmpy 1.10 or later.

Unzip the download and follow instructions from manual (documentation/index.html)

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.


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)


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)

Getting started

1 - 
To start QtoNum in interactive mode go to the installation directory and execute qtonum.bat.  

Then see in manual (documentation/index.html), section getting started.


This program is free software; you can redistribute it and/or modify  it under the terms of the GNU General Public License as published by  the Free Software Foundation version 2 of the License. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  

See the GNU General Public License for more details.

Open source software and icons included in this distribution
    Python   www.python.org   license 
   Psyco  http://psyco.sourceforge.net/    MIT license