You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
<!DOCTYPE html>
< html xmlns = "http://www.w3.org/1999/xhtml" > < head > < title > IR__Const (infer.IR__Const)< / title > < link rel = "stylesheet" href = "../../odoc.css" / > < meta charset = "utf-8" / > < meta name = "generator" content = "odoc 1.5.0" / > < meta name = "viewport" content = "width=device-width,initial-scale=1.0" / > < script src = "../../highlight.pack.js" > < / script > < script > hljs . initHighlightingOnLoad ( ) ; < / script > < / head > < body > < div class = "content" > < header > < nav > < a href = "../index.html" > Up< / a > – < a href = "../index.html" > infer< / a > » IR__Const< / nav > < h1 > Module < code > IR__Const< / code > < / h1 > < p > The Smallfoot Intermediate Language: Constants< / p > < / header > < div class = "spec module" id = "module-F" > < a href = "#module-F" class = "anchor" > < / a > < code > < span class = "keyword" > module< / span > F = Stdlib.Format< / code > < / div > < dl > < dt class = "spec type" id = "type-t" > < a href = "#type-t" class = "anchor" > < / a > < code > < span class = "keyword" > type< / span > t< / code > < code > = < / code > < table class = "variant" > < tr id = "type-t.Cint" class = "anchored" > < td class = "def constructor" > < a href = "#type-t.Cint" class = "anchor" > < / a > < code > | < / code > < code > < span class = "constructor" > Cint< / span > < span class = "keyword" > of< / span > < a href = "../IR/IntLit/index.html#type-t" > IR.IntLit.t< / a > < / code > < / td > < td class = "doc" > < p > integer constants< / p > < / td > < / tr > < tr id = "type-t.Cfun" class = "anchored" > < td class = "def constructor" > < a href = "#type-t.Cfun" class = "anchor" > < / a > < code > | < / code > < code > < span class = "constructor" > Cfun< / span > < span class = "keyword" > of< / span > < a href = "../IR/Procname/index.html#type-t" > IR.Procname.t< / a > < / code > < / td > < td class = "doc" > < p > function names< / p > < / td > < / tr > < tr id = "type-t.Cstr" class = "anchored" > < td class = "def constructor" > < a href = "#type-t.Cstr" class = "anchor" > < / a > < code > | < / code > < code > < span class = "constructor" > Cstr< / span > < span class = "keyword" > of< / span > string< / code > < / td > < td class = "doc" > < p > string constants< / p > < / td > < / tr > < tr id = "type-t.Cfloat" class = "anchored" > < td class = "def constructor" > < a href = "#type-t.Cfloat" class = "anchor" > < / a > < code > | < / code > < code > < span class = "constructor" > Cfloat< / span > < span class = "keyword" > of< / span > float< / code > < / td > < td class = "doc" > < p > float constants< / p > < / td > < / tr > < tr id = "type-t.Cclass" class = "anchored" > < td class = "def constructor" > < a href = "#type-t.Cclass" class = "anchor" > < / a > < code > | < / code > < code > < span class = "constructor" > Cclass< / span > < span class = "keyword" > of< / span > < a href = "../IR/Ident/index.html#type-name" > IR.Ident.name< / a > < / code > < / td > < td class = "doc" > < p > class constant< / p > < / td > < / tr > < / table > < / dt > < dd > < p > Constants< / p > < / dd > < / dl > < div > < div class = "spec include" > < div class = "doc" > < dl > < dt class = "spec value" id = "val-compare" > < a href = "#val-compare" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > compare : < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < span > - > < / span > int< / code > < / dt > < / dl > < / div > < / div > < / div > < dl > < dt class = "spec value" id = "val-equal" > < a href = "#val-equal" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > equal : < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < span > - > < / span > bool< / code > < / dt > < dt class = "spec value" id = "val-kind_equal" > < a href = "#val-kind_equal" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > kind_equal : < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < span > - > < / span > bool< / code > < / dt > < dd > < p > Return true if the constants have the same kind (both integers, ...)< / p > < / dd > < / dl > < dl > < dt class = "spec value" id = "val-pp" > < a href = "#val-pp" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > pp : < a href = "../IStdlib/Pp/index.html#type-env" > IStdlib.Pp.env< / a > < span > - > < / span > < a href = "index.html#module-F" > F< / a > .formatter < span > - > < / span > < a href = "index.html#type-t" > t< / a > < span > - > < / span > unit< / code > < / dt > < dd > < p > Pretty print a const< / p > < / dd > < / dl > < dl > < dt class = "spec value" id = "val-iszero_int_float" > < a href = "#val-iszero_int_float" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > iszero_int_float : < a href = "index.html#type-t" > t< / a > < span > - > < / span > bool< / code > < / dt > < dt class = "spec value" id = "val-isone_int_float" > < a href = "#val-isone_int_float" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > isone_int_float : < a href = "index.html#type-t" > t< / a > < span > - > < / span > bool< / code > < / dt > < dt class = "spec value" id = "val-isminusone_int_float" > < a href = "#val-isminusone_int_float" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > isminusone_int_float : < a href = "index.html#type-t" > t< / a > < span > - > < / span > bool< / code > < / dt > < / dl > < / div > < / body > < / html >