package goblint

  1. Overview
  2. Docs
Static analysis framework for C

Install

dune-project
 Dependency

Authors

Maintainers

Sources

goblint-2.8.0.tbz
sha256=9175eec0143102243964e34a0786584fd590c60422009259c705a89a27f88de4
sha512=9d760007dd8d003cf596516444ed7acc7370fc3d446e75ac71b0176522c3baae090410762f9035e7aae4f6b0e394bf28bb5b1c08ca0476920b94aa919ef04f42

doc/src/goblint.std/gobZ.ml.html

Source file gobZ.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
type t = Z.t [@@deriving eq, ord, hash]

let to_yojson z =
  `Intlit (Z.to_string z)

let rec for_all_range f (a, b) =
  if Z.compare a b > 0 then
    true
  else
    f a && for_all_range f (Z.succ a, b)

let pretty () x = GoblintCil.Pretty.text (Z.to_string x)

let pp = Z.pp_print