Fix extraction of Uint63.
v8.4: Fixing unchecked overflow in sub_mult used for euclidian division over unbounded integers (thanks to L. Théry for pointing out the problem).

git-svn-id: svn://scm.gforge.inria.fr/svnroot/coq@15638 85f007b7-540e-0410-9357-904b9bb8a0f7
v8.4: Better fixing propagation of carry in sub_mult used for euclidian division over unbounded integers (thanks again to L. Théry for pointing out the remaining problem in r15638).

git-svn-id: svn://scm.gforge.inria.fr/svnroot/coq@15660 85f007b7-540e-0410-9357-904b9bb8a0f7
Bigint: adds a missing -1 in hugo's last commit 15659

git-svn-id: svn://scm.gforge.inria.fr/svnroot/coq@15667 85f007b7-540e-0410-9357-904b9bb8a0f7
Bigint : better ensure canonicity of arrays of int blocks

In the chosen representation of negative numbers, (-base) is
actually legal as first element of an int array. This situation
was wrongly handled by many functions in this module, leading to
possible non-canonical representation of a big number, and hence
faulty "equal" answers or buggy output of "to_string".

For instance, on a 32-bit machine :

open Big_int;;
to_string (sub (of_string "-10000") (of_string "-1000000"));;
(* was displaying 9810000 instead of 990000 *)

Also simplified "of_string", which now rely on "neg" for handling
negative numbers.

Btw, improved checks comparing w.r.t OCaml's Big_int instead of float.

git-svn-id: svn://scm.gforge.inria.fr/svnroot/coq@15693 85f007b7-540e-0410-9357-904b9bb8a0f7
Remove superfluous slash.
Improve the coq_makefile tool w.r.t compiled code for native compiler.

This patch is a follow-up of a45675c4ed69bd819fcb62b083d773b3a7685ca9.

Beyond some minor corrections, it workarounds the fact that sometimes
"$(COQBIN)coqtop -batch -quiet -print-mod-uid <basename>" prints some
warning such as the following, as the second line of standard output:
Error:  (**): unsupported character in utf8 sequence.
Improve the coq_makefile tool so it is more robust w.r.t option "-I ."
.dir-locals.el: Restrict the scope of eval to tuareg-mode buffers.

Else we get an error "abbreviate-file-name: Wrong type argument: stringp, nil"
for buffers in dired-mode or so, when buffer-file-name is nil.
Fix for mulc (patch by Benjamin).

TODO: - fix the VM
      - add unit test case