Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
numbers.cc File Reference
#include "ortools/base/numbers.h"
#include <errno.h>
#include <cfloat>
#include <cstdint>
#include <cstdlib>
#include <limits>
#include <memory>
#include <string>
#include "absl/strings/ascii.h"
#include "ortools/base/strtoint.h"

Go to the source code of this file.

Namespaces

namespace  strings
 #include "ortools/base/logging.h"
 

Functions

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

Variables

false strings::true
 
false no strings::yes