products/sources/formale sprachen/Coq/test-suite/arithmetic image not shown  

Quellcode-Bibliothek

© Kompilation durch diese Firma

[Weder Korrektheit noch Funktionsfähigkeit der Software werden zugesichert.]

Datei: lsl.v   Sprache: Coq

Original von: Coq©

Require Import Int63.

Set Implicit Arguments.

Open Scope int63_scope.

Check (eq_refl : 3 << 61 = 6917529027641081856).
Check (eq_refl 6917529027641081856 <: 3 << 61 = 6917529027641081856).
Check (eq_refl 6917529027641081856 <<: 3 << 61 = 6917529027641081856).
Definition compute1 := Eval compute in 3 << 61.
Check (eq_refl compute1 : 6917529027641081856 = 6917529027641081856).

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

Check (eq_refl : 9223372036854775807 << 64 = 0).
Check (eq_refl 0 <: 9223372036854775807 << 64 = 0).
Check (eq_refl 0 <<: 9223372036854775807 << 64 = 0).
Definition compute3 := Eval compute in 9223372036854775807 << 64.
Check (eq_refl compute3 : 0 = 0).

¤ Dauer der Verarbeitung: 0.14 Sekunden  (vorverarbeitet)  ¤





Kontakt
Drucken
Kontakt
sprechenden Kalenders

in der Quellcodebibliothek suchen




schauen Sie vor die Tür

Fenster


Die Firma ist wie angegeben erreichbar.

Die farbliche Syntaxdarstellung ist noch experimentell.


Bot Zugriff