• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
      • Apt
      • Zfc
      • Acre
      • Milawa
      • Smtlink
      • Abnf
      • Vwsim
      • Isar
      • Wp-gen
      • Dimacs-reader
      • Pfcs
      • Legacy-defrstobj
      • C
      • Proof-checker-array
      • Soft
      • Farray
      • Rp-rewriter
      • Instant-runoff-voting
      • Imp-language
      • Sidekick
      • Ethereum
      • Leftist-trees
      • Java
        • Atj
        • Aij
        • Language
          • Syntax
          • Semantics
            • Primitive-function-macros
            • Primitive-values
            • Floating-point-placeholders
            • Pointers
            • Floating-point-value-set-parameters
              • Floatx-paramp
              • Doublex-paramp
              • Floatx-param
              • Doublex-param
            • Values
            • Primitive-operations
            • Primitive-conversions
            • Reference-values
      • Riscv
      • Taspi
      • Bitcoin
      • Zcash
      • Des
      • X86isa
      • Sha-2
      • Yul
      • Proof-checker-itp13
      • Regex
      • ACL2-programming-language
      • Json
      • Jfkr
      • Equational
      • Cryptography
      • Axe
      • Poseidon
      • Where-do-i-place-my-book
      • Aleo
      • Bigmems
      • Builtins
      • Execloader
      • Solidity
      • Paco
      • Concurrent-programs
      • Bls12-377-curves
    • Debugging
    • Community
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
    • Software-verification
    • Math
    • Testing-utilities
  • Semantics

Floating-point-value-set-parameters

Floating-point value set parameters.

Besides the required support for the float and double value sets, a Java implementation may provide support for either or both of a float-extended-exponent value set and a double-extended-exponent value set [JLS14:4.2.3]. The support for each extended-exponent value set, if present, is described by a parameter K [JLS14:4.2.3].

Thus, we parameterize our formal model of Java with an indication, for each extended-exponent value set, of whether such a set is supported and, if so, of the value of K. We introduce two recognizers for the valid values of these parameters (one for each extended-exponent value set), and two constrained nullary functions that are the two parameters and that are required to have values allowed by the recognizers.

Subtopics

Floatx-paramp
Recognize the possible parameters that describe a Java implementation's support of the float-extended-exponent value set [JLS14:4.2.3].
Doublex-paramp
Recognize the possible parameters that describe a Java implementation's support of the double-extended-exponent value set [JLS14:4.2.3].
Floatx-param
Parameter that describes the support of the float-extended-exponent value set [JLS14:4.2.3].
Doublex-param
Parameter that describes the support of the double-extended-exponent value set.