MCPcopy Create free account
hub / github.com/EQMG/Acid / tryParseDouble

Function tryParseDouble

External/tinyobj/tiny_obj.cpp:194–318  ·  view source on GitHub ↗

Tries to parse a floating point number located at s. s_end should be a location in the string where reading should absolutely stop. For example at the end of the string, to prevent buffer overflows. Parses the following EBNF grammar: sign = "+" | "-" ; END = ? anything not in digit ? digit = "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" ; integer = [sign] , digit , {digit} ;

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

parseRealFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected