MCPcopy Create free account
hub / github.com/chigraph/chigraph / ConstFloatNodeType

Method ConstFloatNodeType

libchigraph/src/LangModule.cpp:142–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140
141struct ConstFloatNodeType : NodeType {
142 ConstFloatNodeType(LangModule& mod, double num)
143 : NodeType(mod, "const-float", "Float Literal"), number(num) {
144 makePure();
145
146 setDataOutputs({{"", mod.typeFromName("float")}});
147 }
148
149 Result codegen(
150 size_t /*inputExecID*/, const llvm::DebugLoc& nodeLocation,

Callers

nothing calls this directly

Calls 1

typeFromNameMethod · 0.45

Tested by

no test coverage detected