lib: Float is a Comparable

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
nitg & niti: add intern methods `successor` and `predecessor`

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
c_src: update with new intern methods

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib: intro the Numeric class

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
nitg & niti: remove intern methods succ, prec and Char::+|-

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib: move up to_f and to_i in Number

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib: intro Number::zero and Number::is_zero

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
tests: migrate tests using Char::+|- and Int::succ|prec

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
tests: fix fixme/sav of nitg-g and nitg-e for base_gen_reassign

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Merge branch 'privat' into numbers
tests: fix fixme/sav of base_gen_reassign for nitg-e (after merge)

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Merge: Numeric, a super-class to Int and Float

Will be used by my implementation of the Bentley-Ottmann algorithm,
allowing to be used on either Int or Float. Could also be used to
revamp the API of mnit::Display and to implement QuadTree.

Pull-Request: #344
Reviewed-by: Jean Privat <jean@pryen.org>
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
Reviewed-by: Julien Pagès <julien.m.pages@gmail.com