package coq-core
The Coq Proof Assistant -- Core Binaries and Tools
Install
Dune Dependency
Authors
Maintainers
Sources
coq-8.17.0.tar.gz
sha512=2f77bcb5211018b5d46320fd39fd34450eeb654aca44551b28bb50a2364398c4b34587630b6558db867ecfb63b246fd3e29dc2375f99967ff62bc002db9c3250
doc/coq-core.interp/NumTok/index.html
Module NumTok
Source
Numbers in different forms: signed or unsigned, possibly with fractional part and exponent.
Numbers are represented using raw strings of (hexa)decimal literals and a separate sign flag.
Note that this representation is not unique, due to possible multiple leading or trailing zeros, and -0 = +0, for instances. The reason to keep the number exactly as it was parsed is that specific notations can be declared for specific numbers (e.g. Notation "0" := False
, or Notation "00" := (nil,nil)
, or Notation "2e1" := ...
). Those notations override the generic interpretation as number. So, one has to record the form of the number which exactly matches the notation.
String representation of a natural number
String representation of a signed natural number
Unsigned decimal numbers
Signed decimal numbers
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page