Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/andreasfertig/cppinsights
/ factorialFloat
Function
factorialFloat
tests/ConstexprFunctionHandlerTest.cpp:6–9 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
4
}
5
6
constexpr float factorialFloat(int n)
7
{
8
return n <= 1? 1.0f : (n * factorialFloat(n - 1));
9
}
10
11
12
int dummy(int n)
Callers
1
main
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected