Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/Roqc/test-suite/primitive/sint63/   (Beweissystem des Inria Version 9.1.0©)  Datei vom 15.8.2025 mit Größe 1 kB image not shown  

Quelle  lsl.v   Sprache: Coq

 
Require Import TestSuite.sint63.

Set Implicit Arguments.

Open Scope sint63_scope.

Check (eq_refl : lsl 3 61 = -2305843009213693952).
Check (eq_refl (-2305843009213693952) <: lsl 3 61 = -2305843009213693952).
Check (eq_refl (-2305843009213693952) <<: lsl 3 61 = -2305843009213693952).
Definition compute1 := Eval compute in lsl 3 61.
Check (eq_refl compute1 : -2305843009213693952 = -2305843009213693952).

Check (eq_refl : lsl 2 62 = 0).
Check (eq_refl 0 <: lsl 2 62 = 0).
Check (eq_refl 0 <<: lsl 2 62 = 0).
Definition compute2 := Eval compute in lsl 2 62.
Check (eq_refl compute2 : 0 = 0).

Check (eq_refl : lsl 4611686018427387903 63 = 0).
Check (eq_refl 0 <: lsl 4611686018427387903 63 = 0).
Check (eq_refl 0 <<: lsl 4611686018427387903 63 = 0).
Definition compute3 := Eval compute in lsl 4611686018427387903 63.
Check (eq_refl compute3 : 0 = 0).

Check (eq_refl : lsl 4611686018427387903 62 = -4611686018427387904).
Check (eq_refl (-4611686018427387904) <:
  lsl 4611686018427387903 62 = -4611686018427387904).
Check (eq_refl (-4611686018427387904) <<:
  lsl 4611686018427387903 62 = -4611686018427387904).
Definition compute4 := Eval compute in lsl 4611686018427387903 62.
Check (eq_refl compute4 : -4611686018427387904 = -4611686018427387904).

Check (eq_refl : lsl 1 62 = -4611686018427387904).
Check (eq_refl (-4611686018427387904) <: lsl 1 62 = -4611686018427387904).
Check (eq_refl (-4611686018427387904) <<: lsl 1 62 = -4611686018427387904).
Definition compute5 := Eval compute in lsl 1 62.
Check (eq_refl compute5 : -4611686018427387904 = -4611686018427387904).

Check (eq_refl : lsl (-1)%sint63 1 = -2).
Check (eq_refl (-2) <: lsl (-1)%sint63 1 = -2).
Check (eq_refl (-2) <<: lsl (-1)%sint63 1 = -2).
Definition compute6 := Eval compute in lsl (-1)%sint63 1.
Check (eq_refl compute6 : -2 = -2).

Messung V0.5
C=100 H=100 G=100

¤ Dauer der Verarbeitung: 0.10 Sekunden  (vorverarbeitet)  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.