MCPcopy Create free account
hub / github.com/AliveToolkit/alive2 / FloatConst

Method FloatConst

ir/constant.cpp:85–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83}
84
85FloatConst::FloatConst(Type &type, string val, bool bit_value)
86 : Constant(type, bit_value ? int_to_readable_float(type, val) : val),
87 val(std::move(val)), bit_value(bit_value) {}
88
89expr FloatConst::getTypeConstraints() const {
90 return Value::getTypeConstraints() &&

Callers

nothing calls this directly

Calls 1

int_to_readable_floatFunction · 0.85

Tested by

no test coverage detected