OR-Tools  9.6
numbers.cc File Reference

Go to the source code of this file.

Namespaces

 strings
 

Functions

int64_t strtoint64 (const char *nptr, char **endptr, int base)
 
uint64_t strtouint64 (const char *nptr, char **endptr, int base)
 
int32_t strtoint32 (const char *nptr, char **endptr, int base)
 
uint32_t strtouint32 (const char *nptr, char **endptr, int base)
 
int32_t ParseLeadingInt32Value (const char *str, int32_t deflt)
 
uint32_t ParseLeadingUInt32Value (const char *str, uint32_t deflt)
 
int32_t ParseLeadingDec32Value (const char *str, int32_t deflt)
 
uint32_t ParseLeadingUDec32Value (const char *str, uint32_t deflt)
 
uint64_t ParseLeadingUInt64Value (const char *str, uint64_t deflt)
 
int64_t ParseLeadingInt64Value (const char *str, int64_t deflt)
 
uint64_t ParseLeadingHex64Value (const char *str, uint64_t deflt)
 
int64_t ParseLeadingDec64Value (const char *str, int64_t deflt)
 
uint64_t ParseLeadingUDec64Value (const char *str, uint64_t deflt)
 
double ParseLeadingDoubleValue (const char *str, double deflt)
 
bool ParseLeadingBoolValue (const char *str, bool deflt)