Skip to content
1 viewer

rust 1,847,276 · typescript 232,434 · javascript 131,064 · python 19,227 · 6,362 files · digest fa0546eddd29 · built in 1.9 s · crystals off

mul_div_ceil

cre8_util_options::ratio::mul_div_ceil

fn · cre8-util-options · crates/cre8-util-options/src/ratio.rs:528 pub documented

3lines
1cyclomatic
0max nesting
1statements
0? exits
3params
3callers
1callees
3.8 (p98)call-graph weight

Crystal

no crystal was derived for this function

Call neighbourhood

Callers left, callees right, two hops each way (3 direct callers, 1 direct callees; the heaviest shown). Dashed edges are method calls resolved by name alone.

name · 1 sitemethod · 1 sitemethod · 1 sitemethod · 1 sitemethod · 1 sitemethod · 1 sitepath · 1 sitename · 8 sitesname · 3 sitesname · 3 sitesmethod · 3 sitesname · 1 sitepath · 1 sitepath · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 siteamount_owedapp-credit · cc 1cre8_app_credit::exact::amount_owedfull_collateral_unitsutil-options · cc 5cre8_util_options::settle::full_collateral_unitssnapshotapp-paper · cc 3cre8_app_paper::ops::snapshotdebt_value_unitsutil-options · cc 3cre8_util_options::margin::debt_value_unitsnotional_ceilapp-paper · cc 1cre8_app_paper::engine::notional_ceilMark::value_ceilapp-mark · cc 1cre8_app_mark::model::Mark::value_ceilparse_termsapp-credit · cc 7cre8_app_credit::loan::parse_termsinterest_rounds_up_against_…app-credit · cc 1cre8_app_credit::exact::tests::interest_rounds_up_against_the_borrowerratio_collateral_rounds_upapp-credit · cc 1cre8_app_credit::exact::tests::ratio_collateral_rounds_upfloor_and_ceil_mul_are_exac…util-options · cc 1cre8_util_options::ratio::tests::floor_and_ceil_mul_are_exact_at_256_bitsRatio::ceil_mulutil-options · cc 1cre8_util_options::ratio::Ratio::ceil_mulinterest_ceilapp-credit · cc 4cre8_app_credit::exact::interest_ceilcollateral_for_ratioapp-credit · cc 1cre8_app_credit::exact::collateral_for_ratiomul_div_ceilutil-options · cc 1cre8_util_options::ratio::mul_div_ceilmul_div_roundutil-options · cc 7cre8_util_options::ratio::mul_div_roundsigned_from_magnitudeutil-options · cc 3cre8_util_options::ratio::signed_from_magnitudemul_wideutil-options · cc 1cre8_util_options::ratio::mul_widedivrem_wideutil-options · cc 7cre8_util_options::ratio::divrem_wide

Control flow

Source not readable from this process.

Callers 3

Callees 1

Source not readable from this process.