MCPcopy Create free account
hub / github.com/cameron314/concurrentqueue / isvowel

Function isvowel

benchmarks/benchmarks.cpp:1702–1711  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1700}
1701
1702static inline bool isvowel(char ch)
1703{
1704 ch = std::tolower(ch);
1705 for (const char* v = "aeiou"; *v != '\0'; ++v) {
1706 if (*v == ch) {
1707 return true;
1708 }
1709 }
1710 return false;
1711}
1712
1713static inline double safe_divide(double a, double b)
1714{

Callers 1

mainFunction · 0.85

Calls 1

tolowerFunction · 0.85

Tested by

no test coverage detected