Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/VitalAudio/visage
/ toFloat
Function
toFloat
visage_graphics/path.cpp:34–41 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
32
33
namespace visage {
34
static float toFloat(const std::string& str) {
35
try {
36
return std::stof(str);
37
}
38
catch (...) {
39
return 0.0f;
40
}
41
}
42
43
template<typename T>
44
static T clampedACos(T value) {
Callers
1
parseNumber
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected