changed valid cutoff/prewarping range everywhere
This commit is contained in:
parent
a7b3f5ce16
commit
a16cdd9c73
@ -209,7 +209,7 @@ static inline void bw_ap1_set_cutoff(
|
||||
/*! <<<```
|
||||
* Sets the cutoff frequency `value` (Hz) in `coeffs`.
|
||||
*
|
||||
* Valid range: [`1e-6f`, `1e6f`].
|
||||
* Valid range: [`1e-6f`, `1e12f`].
|
||||
*
|
||||
* Default value: `1e3f`.
|
||||
*
|
||||
@ -235,7 +235,7 @@ static inline void bw_ap1_set_prewarp_freq(
|
||||
* Only used when the prewarp\_at\_cutoff parameter is off and however
|
||||
* internally limited to avoid instability.
|
||||
*
|
||||
* Valid range: [`1e-6f`, `1e6f`].
|
||||
* Valid range: [`1e-6f`, `1e12f`].
|
||||
*
|
||||
* Default value: `1e3f`.
|
||||
*
|
||||
@ -514,7 +514,7 @@ static inline void bw_ap1_set_cutoff(
|
||||
BW_ASSERT_DEEP(bw_ap1_coeffs_is_valid(coeffs));
|
||||
BW_ASSERT_DEEP(coeffs->state >= bw_ap1_coeffs_state_init);
|
||||
BW_ASSERT(bw_is_finite(value));
|
||||
BW_ASSERT(value >= 1e-6f && value <= 1e6f);
|
||||
BW_ASSERT(value >= 1e-6f && value <= 1e12f);
|
||||
|
||||
bw_lp1_set_cutoff(&coeffs->lp1_coeffs, value);
|
||||
|
||||
@ -542,7 +542,7 @@ static inline void bw_ap1_set_prewarp_freq(
|
||||
BW_ASSERT_DEEP(bw_ap1_coeffs_is_valid(coeffs));
|
||||
BW_ASSERT_DEEP(coeffs->state >= bw_ap1_coeffs_state_init);
|
||||
BW_ASSERT(bw_is_finite(value));
|
||||
BW_ASSERT(value >= 1e-6f && value <= 1e6f);
|
||||
BW_ASSERT(value >= 1e-6f && value <= 1e12f);
|
||||
|
||||
bw_lp1_set_prewarp_freq(&coeffs->lp1_coeffs, value);
|
||||
|
||||
|
@ -206,7 +206,7 @@ static inline void bw_hp1_set_cutoff(
|
||||
/*! <<<```
|
||||
* Sets the cutoff frequency `value` (Hz) in `coeffs`.
|
||||
*
|
||||
* Valid range: [`1e-6f`, `1e6f`].
|
||||
* Valid range: [`1e-6f`, `1e12f`].
|
||||
*
|
||||
* Default value: `1e3f`.
|
||||
*
|
||||
@ -232,7 +232,7 @@ static inline void bw_hp1_set_prewarp_freq(
|
||||
* Only used when the prewarp\_at\_cutoff parameter is off and however
|
||||
* internally limited to avoid instability.
|
||||
*
|
||||
* Valid range: [`1e-6f`, `1e6f`].
|
||||
* Valid range: [`1e-6f`, `1e12f`].
|
||||
*
|
||||
* Default value: `1e3f`.
|
||||
*
|
||||
@ -508,7 +508,7 @@ static inline void bw_hp1_set_cutoff(
|
||||
BW_ASSERT_DEEP(bw_hp1_coeffs_is_valid(coeffs));
|
||||
BW_ASSERT_DEEP(coeffs->state >= bw_hp1_coeffs_state_init);
|
||||
BW_ASSERT(bw_is_finite(value));
|
||||
BW_ASSERT(value >= 1e-6f && value <= 1e6f);
|
||||
BW_ASSERT(value >= 1e-6f && value <= 1e12f);
|
||||
|
||||
bw_lp1_set_cutoff(&coeffs->lp1_coeffs, value);
|
||||
|
||||
@ -536,7 +536,7 @@ static inline void bw_hp1_set_prewarp_freq(
|
||||
BW_ASSERT_DEEP(bw_hp1_coeffs_is_valid(coeffs));
|
||||
BW_ASSERT_DEEP(coeffs->state >= bw_hp1_coeffs_state_init);
|
||||
BW_ASSERT(bw_is_finite(value));
|
||||
BW_ASSERT(value >= 1e-6f && value <= 1e6f);
|
||||
BW_ASSERT(value >= 1e-6f && value <= 1e12f);
|
||||
|
||||
bw_lp1_set_prewarp_freq(&coeffs->lp1_coeffs, value);
|
||||
|
||||
|
@ -213,7 +213,7 @@ static inline void bw_hs1_set_cutoff(
|
||||
*
|
||||
* By the time `bw_hs1_update_coeffs_ctrl()`, `bw_hs1_update_coeffs_audio()`,
|
||||
* `bw_hs1_process()`, or `bw_hs1_process_multi()` is called,
|
||||
* `cutoff * bw_sqrtf(high_gain)` must be in [`1e-6f`, `1e6f`].
|
||||
* `cutoff * bw_sqrtf(high_gain)` must be in [`1e-6f`, `1e12f`].
|
||||
*
|
||||
* Default value: `1e3f`.
|
||||
*
|
||||
@ -239,7 +239,7 @@ static inline void bw_hs1_set_prewarp_freq(
|
||||
* Only used when the prewarp\_at\_cutoff parameter is off and however
|
||||
* internally limited to avoid instability.
|
||||
*
|
||||
* Valid range: [`1e-6f`, `1e6f`].
|
||||
* Valid range: [`1e-6f`, `1e12f`].
|
||||
*
|
||||
* Default value: `1e3f`.
|
||||
*
|
||||
@ -256,7 +256,7 @@ static inline void bw_hs1_set_high_gain_lin(
|
||||
*
|
||||
* By the time `bw_hs1_update_coeffs_ctrl()` or
|
||||
* `bw_hs1_update_coeffs_audio()` is called, `cutoff * bw_sqrtf(high_gain)`
|
||||
* must be in [`1e-6f`, `1e6f`].
|
||||
* must be in [`1e-6f`, `1e12f`].
|
||||
*
|
||||
* Default value: `1.f`.
|
||||
*
|
||||
@ -275,7 +275,7 @@ static inline void bw_hs1_set_high_gain_dB(
|
||||
*
|
||||
* By the time `bw_hs1_update_coeffs_ctrl()`, `bw_hs1_update_coeffs_audio()`,
|
||||
* `bw_hs1_process()`, or `bw_hs1_process_multi()` is called,
|
||||
* `cutoff * bw_sqrtf(high_gain)` must be in [`1e-6f`, `1e6f`].
|
||||
* `cutoff * bw_sqrtf(high_gain)` must be in [`1e-6f`, `1e12f`].
|
||||
*
|
||||
* Default value: `0.f`.
|
||||
*
|
||||
@ -481,7 +481,7 @@ static inline void bw_hs1_update_coeffs_ctrl(
|
||||
BW_ASSERT(coeffs != NULL);
|
||||
BW_ASSERT_DEEP(bw_hs1_coeffs_is_valid(coeffs));
|
||||
BW_ASSERT_DEEP(coeffs->state >= bw_hs1_coeffs_state_reset_coeffs);
|
||||
BW_ASSERT_DEEP(coeffs->cutoff * bw_sqrtf(coeffs->high_gain) >= 1e-6f && coeffs->cutoff * bw_sqrtf(coeffs->high_gain) <= 1e6f);
|
||||
BW_ASSERT_DEEP(coeffs->cutoff * bw_sqrtf(coeffs->high_gain) >= 1e-6f && coeffs->cutoff * bw_sqrtf(coeffs->high_gain) <= 1e12f);
|
||||
|
||||
bw_hs1_update_mm1_params(coeffs);
|
||||
bw_mm1_update_coeffs_ctrl(&coeffs->mm1_coeffs);
|
||||
@ -495,7 +495,7 @@ static inline void bw_hs1_update_coeffs_audio(
|
||||
BW_ASSERT(coeffs != NULL);
|
||||
BW_ASSERT_DEEP(bw_hs1_coeffs_is_valid(coeffs));
|
||||
BW_ASSERT_DEEP(coeffs->state >= bw_hs1_coeffs_state_reset_coeffs);
|
||||
BW_ASSERT_DEEP(coeffs->cutoff * bw_sqrtf(coeffs->high_gain) >= 1e-6f && coeffs->cutoff * bw_sqrtf(coeffs->high_gain) <= 1e6f);
|
||||
BW_ASSERT_DEEP(coeffs->cutoff * bw_sqrtf(coeffs->high_gain) >= 1e-6f && coeffs->cutoff * bw_sqrtf(coeffs->high_gain) <= 1e12f);
|
||||
|
||||
bw_mm1_update_coeffs_audio(&coeffs->mm1_coeffs);
|
||||
|
||||
@ -614,7 +614,7 @@ static inline void bw_hs1_set_prewarp_freq(
|
||||
BW_ASSERT_DEEP(bw_hs1_coeffs_is_valid(coeffs));
|
||||
BW_ASSERT_DEEP(coeffs->state >= bw_hs1_coeffs_state_init);
|
||||
BW_ASSERT(bw_is_finite(value));
|
||||
BW_ASSERT(value >= 1e-6f && value <= 1e6f);
|
||||
BW_ASSERT(value >= 1e-6f && value <= 1e12f);
|
||||
|
||||
coeffs->prewarp_freq = value;
|
||||
|
||||
@ -670,7 +670,7 @@ static inline char bw_hs1_coeffs_is_valid(
|
||||
return 0;
|
||||
if (coeffs->prewarp_k != 0.f && coeffs->prewarp_k != 1.f)
|
||||
return 0;
|
||||
if (coeffs->prewarp_freq < 1e-6f || coeffs->prewarp_freq > 1e6f)
|
||||
if (coeffs->prewarp_freq < 1e-6f || coeffs->prewarp_freq > 1e12f)
|
||||
return 0;
|
||||
if (!bw_is_finite(coeffs->high_gain) || coeffs->high_gain < 0.f)
|
||||
return 0;
|
||||
|
@ -209,7 +209,7 @@ static inline void bw_lp1_set_cutoff(
|
||||
/*! <<<```
|
||||
* Sets the cutoff frequency `value` (Hz) in `coeffs`.
|
||||
*
|
||||
* Valid range: [`1e-6f`, `1e6f`].
|
||||
* Valid range: [`1e-6f`, `1e12f`].
|
||||
*
|
||||
* Default value: `1e3f`.
|
||||
*
|
||||
@ -235,7 +235,7 @@ static inline void bw_lp1_set_prewarp_freq(
|
||||
* Only used when the prewarp\_at\_cutoff parameter is off and however
|
||||
* internally limited to avoid instability.
|
||||
*
|
||||
* Valid range: [`1e-6f`, `1e6f`].
|
||||
* Valid range: [`1e-6f`, `1e12f`].
|
||||
*
|
||||
* Default value: `1e3f`.
|
||||
*
|
||||
@ -563,7 +563,7 @@ static inline void bw_lp1_set_cutoff(
|
||||
BW_ASSERT_DEEP(bw_lp1_coeffs_is_valid(coeffs));
|
||||
BW_ASSERT_DEEP(coeffs->state >= bw_lp1_coeffs_state_init);
|
||||
BW_ASSERT(bw_is_finite(value));
|
||||
BW_ASSERT(value >= 1e-6f && value <= 1e6f);
|
||||
BW_ASSERT(value >= 1e-6f && value <= 1e12f);
|
||||
|
||||
coeffs->cutoff = value;
|
||||
|
||||
@ -591,7 +591,7 @@ static inline void bw_lp1_set_prewarp_freq(
|
||||
BW_ASSERT_DEEP(bw_lp1_coeffs_is_valid(coeffs));
|
||||
BW_ASSERT_DEEP(coeffs->state >= bw_lp1_coeffs_state_init);
|
||||
BW_ASSERT(bw_is_finite(value));
|
||||
BW_ASSERT(value >= 1e-6f && value <= 1e6f);
|
||||
BW_ASSERT(value >= 1e-6f && value <= 1e12f);
|
||||
|
||||
coeffs->prewarp_freq = value;
|
||||
|
||||
@ -610,11 +610,11 @@ static inline char bw_lp1_coeffs_is_valid(
|
||||
return 0;
|
||||
#endif
|
||||
|
||||
if (coeffs->cutoff < 1e-6f || coeffs->cutoff > 1e6f)
|
||||
if (coeffs->cutoff < 1e-6f || coeffs->cutoff > 1e12f)
|
||||
return 0;
|
||||
if (coeffs->prewarp_k != 0.f && coeffs->prewarp_k != 1.f)
|
||||
return 0;
|
||||
if (coeffs->prewarp_freq < 1e-6f || coeffs->prewarp_freq > 1e6f)
|
||||
if (coeffs->prewarp_freq < 1e-6f || coeffs->prewarp_freq > 1e12f)
|
||||
return 0;
|
||||
|
||||
if (!bw_one_pole_coeffs_is_valid(&coeffs->smooth_coeffs))
|
||||
|
@ -212,7 +212,7 @@ static inline void bw_ls1_set_cutoff(
|
||||
*
|
||||
* By the time `bw_ls1_update_coeffs_ctrl()`, `bw_ls1_update_coeffs_audio()`,
|
||||
* `bw_ls1_process()`, or `bw_ls1_process_multi()` is called,
|
||||
* `cutoff * bw_rcpf(bw_sqrtf(dc_gain))` must be in [`1e-6f`, `1e6f`].
|
||||
* `cutoff * bw_rcpf(bw_sqrtf(dc_gain))` must be in [`1e-6f`, `1e12f`].
|
||||
*
|
||||
* Default value: `1e3f`.
|
||||
*
|
||||
@ -238,7 +238,7 @@ static inline void bw_ls1_set_prewarp_freq(
|
||||
* Only used when the prewarp\_at\_cutoff parameter is off and however
|
||||
* internally limited to avoid instability.
|
||||
*
|
||||
* Valid range: [`1e-6f`, `1e6f`].
|
||||
* Valid range: [`1e-6f`, `1e12f`].
|
||||
*
|
||||
* Default value: `1e3f`.
|
||||
*
|
||||
@ -254,7 +254,7 @@ static inline void bw_ls1_set_dc_gain_lin(
|
||||
*
|
||||
* By the time `bw_ls1_update_coeffs_ctrl()`, `bw_ls1_update_coeffs_audio()`,
|
||||
* `bw_ls1_process()`, or `bw_ls1_process_multi()` is called,
|
||||
* `cutoff * bw_rcpf(bw_sqrtf(dc_gain))` must be in [`1e-6f`, `1e6f`].
|
||||
* `cutoff * bw_rcpf(bw_sqrtf(dc_gain))` must be in [`1e-6f`, `1e12f`].
|
||||
*
|
||||
* Default value: `1.f`.
|
||||
*
|
||||
@ -270,7 +270,7 @@ static inline void bw_ls1_set_dc_gain_dB(
|
||||
*
|
||||
* By the time `bw_ls1_update_coeffs_ctrl()`, `bw_ls1_update_coeffs_audio()`,
|
||||
* `bw_ls1_process()`, or `bw_ls1_process_multi()` is called,
|
||||
* `cutoff * bw_rcpf(bw_sqrtf(dc_gain))` must be in [`1e-6f`, `1e6f`].
|
||||
* `cutoff * bw_rcpf(bw_sqrtf(dc_gain))` must be in [`1e-6f`, `1e12f`].
|
||||
*
|
||||
* Default value: `0.f`.
|
||||
*
|
||||
@ -475,7 +475,7 @@ static inline void bw_ls1_update_coeffs_ctrl(
|
||||
BW_ASSERT(coeffs != NULL);
|
||||
BW_ASSERT_DEEP(bw_ls1_coeffs_is_valid(coeffs));
|
||||
BW_ASSERT_DEEP(coeffs->state >= bw_ls1_coeffs_state_reset_coeffs);
|
||||
BW_ASSERT_DEEP(coeffs->cutoff * bw_rcpf(bw_sqrtf(coeffs->dc_gain)) >= 1e-6f && coeffs->cutoff * bw_rcpf(bw_sqrtf(coeffs->dc_gain)) <= 1e6f);
|
||||
BW_ASSERT_DEEP(coeffs->cutoff * bw_rcpf(bw_sqrtf(coeffs->dc_gain)) >= 1e-6f && coeffs->cutoff * bw_rcpf(bw_sqrtf(coeffs->dc_gain)) <= 1e12f);
|
||||
|
||||
bw_ls1_update_mm1_params(coeffs);
|
||||
bw_mm1_update_coeffs_ctrl(&coeffs->mm1_coeffs);
|
||||
@ -489,7 +489,7 @@ static inline void bw_ls1_update_coeffs_audio(
|
||||
BW_ASSERT(coeffs != NULL);
|
||||
BW_ASSERT_DEEP(bw_ls1_coeffs_is_valid(coeffs));
|
||||
BW_ASSERT_DEEP(coeffs->state >= bw_ls1_coeffs_state_reset_coeffs);
|
||||
BW_ASSERT_DEEP(coeffs->cutoff * bw_rcpf(bw_sqrtf(coeffs->dc_gain)) >= 1e-6f && coeffs->cutoff * bw_rcpf(bw_sqrtf(coeffs->dc_gain)) <= 1e6f);
|
||||
BW_ASSERT_DEEP(coeffs->cutoff * bw_rcpf(bw_sqrtf(coeffs->dc_gain)) >= 1e-6f && coeffs->cutoff * bw_rcpf(bw_sqrtf(coeffs->dc_gain)) <= 1e12f);
|
||||
|
||||
bw_mm1_update_coeffs_audio(&coeffs->mm1_coeffs);
|
||||
|
||||
@ -608,7 +608,7 @@ static inline void bw_ls1_set_prewarp_freq(
|
||||
BW_ASSERT_DEEP(bw_ls1_coeffs_is_valid(coeffs));
|
||||
BW_ASSERT_DEEP(coeffs->state >= bw_ls1_coeffs_state_init);
|
||||
BW_ASSERT(bw_is_finite(value));
|
||||
BW_ASSERT(value >= 1e-6f && value <= 1e6f);
|
||||
BW_ASSERT(value >= 1e-6f && value <= 1e12f);
|
||||
|
||||
coeffs->prewarp_freq = value;
|
||||
|
||||
@ -664,7 +664,7 @@ static inline char bw_ls1_coeffs_is_valid(
|
||||
return 0;
|
||||
if (coeffs->prewarp_k != 0.f && coeffs->prewarp_k != 1.f)
|
||||
return 0;
|
||||
if (coeffs->prewarp_freq < 1e-6f || coeffs->prewarp_freq > 1e6f)
|
||||
if (coeffs->prewarp_freq < 1e-6f || coeffs->prewarp_freq > 1e12f)
|
||||
return 0;
|
||||
if (!bw_is_finite(coeffs->dc_gain) || coeffs->dc_gain < 1e-30f)
|
||||
return 0;
|
||||
|
@ -204,7 +204,7 @@ static inline void bw_mm1_set_cutoff(
|
||||
/*! <<<```
|
||||
* Sets the cutoff frequency `value` (Hz) in `coeffs`.
|
||||
*
|
||||
* Valid range: [`1e-6f`, `1e6f`].
|
||||
* Valid range: [`1e-6f`, `1e12f`].
|
||||
*
|
||||
* Default value: `1e3f`.
|
||||
*
|
||||
@ -229,7 +229,7 @@ static inline void bw_mm1_set_prewarp_freq(
|
||||
*
|
||||
* Only used when the prewarp\_at\_cutoff parameter is off.
|
||||
*
|
||||
* Valid range: [`1e-6f`, `1e6f`].
|
||||
* Valid range: [`1e-6f`, `1e12f`].
|
||||
*
|
||||
* Default value: `1e3f`.
|
||||
*
|
||||
@ -551,7 +551,7 @@ static inline void bw_mm1_set_cutoff(
|
||||
BW_ASSERT_DEEP(bw_mm1_coeffs_is_valid(coeffs));
|
||||
BW_ASSERT_DEEP(coeffs->state >= bw_mm1_coeffs_state_init);
|
||||
BW_ASSERT(bw_is_finite(value));
|
||||
BW_ASSERT(value >= 1e-6f && value <= 1e6f);
|
||||
BW_ASSERT(value >= 1e-6f && value <= 1e12f);
|
||||
|
||||
bw_lp1_set_cutoff(&coeffs->lp1_coeffs, value);
|
||||
|
||||
@ -579,7 +579,7 @@ static inline void bw_mm1_set_prewarp_freq(
|
||||
BW_ASSERT_DEEP(bw_mm1_coeffs_is_valid(coeffs));
|
||||
BW_ASSERT_DEEP(coeffs->state >= bw_mm1_coeffs_state_init);
|
||||
BW_ASSERT(bw_is_finite(value));
|
||||
BW_ASSERT(value >= 1e-6f && value <= 1e6f);
|
||||
BW_ASSERT(value >= 1e-6f && value <= 1e12f);
|
||||
|
||||
bw_lp1_set_prewarp_freq(&coeffs->lp1_coeffs, value);
|
||||
|
||||
|
@ -253,7 +253,7 @@ static inline void bw_svf_set_cutoff(
|
||||
/*! <<<```
|
||||
* Sets the cutoff frequency to the given `value` (Hz) in `coeffs`.
|
||||
*
|
||||
* Valid range: [`1e-6f`, `1e6f`].
|
||||
* Valid range: [`1e-6f`, `1e12f`].
|
||||
*
|
||||
* Default value: `1e3f`.
|
||||
*
|
||||
@ -265,7 +265,7 @@ static inline void bw_svf_set_Q(
|
||||
/*! <<<```
|
||||
* Sets the quality factor to the given `value` in `coeffs`.
|
||||
*
|
||||
* `value` must be equal or bigger than `0.5f`.
|
||||
* Valid range: [`1e-6f`, `1e6f`].
|
||||
*
|
||||
* Default value: `0.5f`.
|
||||
*
|
||||
@ -291,7 +291,7 @@ static inline void bw_svf_set_prewarp_freq(
|
||||
* Only used when the prewarp\_at\_cutoff parameter is off and however
|
||||
* internally limited to avoid instability.
|
||||
*
|
||||
* Valid range: [`1e-6f`, `1e6f`].
|
||||
* Valid range: [`1e-6f`, `1e12f`].
|
||||
*
|
||||
* Default value: `1e3f`.
|
||||
*
|
||||
@ -860,7 +860,7 @@ static inline void bw_svf_set_cutoff(
|
||||
BW_ASSERT_DEEP(bw_svf_coeffs_is_valid(coeffs));
|
||||
BW_ASSERT_DEEP(coeffs->state >= bw_svf_coeffs_state_init);
|
||||
BW_ASSERT(bw_is_finite(value));
|
||||
BW_ASSERT(value >= 1e-6f && value <= 1e6f);
|
||||
BW_ASSERT(value >= 1e-6f && value <= 1e12f);
|
||||
|
||||
coeffs->cutoff = value;
|
||||
|
||||
@ -903,7 +903,7 @@ static inline void bw_svf_set_prewarp_freq(
|
||||
BW_ASSERT_DEEP(bw_svf_coeffs_is_valid(coeffs));
|
||||
BW_ASSERT_DEEP(coeffs->state >= bw_svf_coeffs_state_init);
|
||||
BW_ASSERT(bw_is_finite(value));
|
||||
BW_ASSERT(value >= 1e-6f && value <= 1e6f);
|
||||
BW_ASSERT(value >= 1e-6f && value <= 1e12f);
|
||||
|
||||
coeffs->prewarp_freq = value;
|
||||
|
||||
@ -922,13 +922,13 @@ static inline char bw_svf_coeffs_is_valid(
|
||||
return 0;
|
||||
#endif
|
||||
|
||||
if (coeffs->cutoff < 1e-6f || coeffs->cutoff > 1e6f)
|
||||
if (coeffs->cutoff < 1e-6f || coeffs->cutoff > 1e12f)
|
||||
return 0;
|
||||
if (coeffs->Q < 1e-6f || coeffs->Q > 1e6f)
|
||||
return 0;
|
||||
if (coeffs->prewarp_k != 0.f && coeffs->prewarp_k != 1.f)
|
||||
return 0;
|
||||
if (coeffs->prewarp_freq < 1e-6f || coeffs->prewarp_freq > 1e6f)
|
||||
if (coeffs->prewarp_freq < 1e-6f || coeffs->prewarp_freq > 1e12f)
|
||||
return 0;
|
||||
|
||||
if (!bw_one_pole_coeffs_is_valid(&coeffs->smooth_coeffs))
|
||||
@ -987,7 +987,7 @@ static inline char bw_svf_state_is_valid(
|
||||
return 0;
|
||||
if (!bw_is_finite(state->bp_z1))
|
||||
return 0;
|
||||
if (!bw_is_finite(state->cutoff_z1) || state->cutoff_z1 < 1e-6f || state->cutoff_z1 > 1e6f)
|
||||
if (!bw_is_finite(state->cutoff_z1) || state->cutoff_z1 < 1e-6f || state->cutoff_z1 > 1e12f)
|
||||
return 0;
|
||||
|
||||
return 1;
|
||||
|
Loading…
Reference in New Issue
Block a user