MCPcopy Create free account
hub / github.com/WheretIB/nullc / AddNumberNodeFloat

Function AddNumberNodeFloat

NULLC/Callbacks.cpp:630–633  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

628 CodeInfo::nodeList.push_back(new NodeNumber(parseInteger(pos), typeInt));
629}
630void AddNumberNodeFloat(const char* pos)
631{
632 CodeInfo::nodeList.push_back(new NodeNumber((float)parseDouble(pos), typeFloat));
633}
634void AddNumberNodeLong(const char* pos, const char* end)
635{
636 CodeInfo::nodeList.push_back(new NodeNumber(parseLong(pos, end, 10), typeLong));

Callers 1

ParseNumberFunction · 0.85

Calls 2

parseDoubleFunction · 0.85
push_backMethod · 0.45

Tested by

no test coverage detected