MCPcopy Create free account
hub / github.com/rsc/tmp / IsCharacterDigitForRadix

Function IsCharacterDigitForRadix

ftoa/dblconv/string-to-double.cc:184–186  ·  view source on GitHub ↗

Returns true if 'c' is a character digit that is valid for the given radix. The 'a_character' should be 'a' or 'A'. The function is small and could be inlined, but VS2012 emitted a warning because it constant-propagated the radix and concluded that the first condition was always false. By moving it into a separate function the compiler wouldn't warn anymore.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

RadixStringToIeeeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…