Files
rippled/include/xrpl/basics/MathUtilities.h.ai.json
2026-05-18 22:59:19 +02:00

32 lines
667 B
JSON

{
"args": [
{
"lineno": 16,
"name": "count"
},
{
"lineno": 16,
"name": "total"
}
],
"classes": [],
"description": "Provides a constexpr function to calculate the percentage of one number divided by another, rounded up and capped between 0 and 100, with static_assert unit tests.",
"file_path": "workflow/XRPLF-rippled-develop/source/include/xrpl/basics/MathUtilities.h",
"functions": [
{
"args": [
"count",
"total"
],
"lineno": 16,
"name": "calculatePercent"
}
],
"language": "c header",
"namespaces": [
{
"lineno": 6,
"name": "xrpl"
}
]
}