Public Member Functions | |
| type(dc_scaled_sec) function | dcscaledsec_modulo_si (sclsec, factor) |
| type(dc_scaled_sec) function | dcscaledsec_modulo_sr (sclsec, factor) |
| type(dc_scaled_sec) function | dcscaledsec_modulo_sd (sclsec, factor) |
| type(dc_scaled_sec) function | dcscaledsec_modulo_ss (sclsec, factor) |
Definition at line 228 of file dc_scaledsec.f90.
| type(dc_scaled_sec) function dc_scaledsec::modulo::dcscaledsec_modulo_sd | ( | type(dc_scaled_sec), intent(in) | sclsec, |
| real(dp), intent(in) | factor ) |
Calculate modulo of DC_SCALED_SEC divided by double
| [in] | sclsec | DC_SCALED_SEC variable (dividend) |
| [in] | factor | Double precision divisor |
Definition at line 2402 of file dc_scaledsec.f90.
| type(dc_scaled_sec) function dc_scaledsec::modulo::dcscaledsec_modulo_si | ( | type(dc_scaled_sec), intent(in) | sclsec, |
| integer, intent(in) | factor ) |
Calculate modulo of DC_SCALED_SEC divided by integer
| [in] | sclsec | DC_SCALED_SEC variable (dividend) |
| [in] | factor | Integer divisor |
Definition at line 2348 of file dc_scaledsec.f90.
| type(dc_scaled_sec) function dc_scaledsec::modulo::dcscaledsec_modulo_sr | ( | type(dc_scaled_sec), intent(in) | sclsec, |
| real, intent(in) | factor ) |
Calculate modulo of DC_SCALED_SEC divided by real
| [in] | sclsec | DC_SCALED_SEC variable (dividend) |
| [in] | factor | Single precision divisor |
Definition at line 2375 of file dc_scaledsec.f90.
| type(dc_scaled_sec) function dc_scaledsec::modulo::dcscaledsec_modulo_ss | ( | type(dc_scaled_sec), intent(in) | sclsec, |
| type(dc_scaled_sec), intent(in) | factor ) |
Calculate modulo of DC_SCALED_SEC division
Note: Due to precision limitations in Fortran compilers, factor must be smaller than 10^12.
The difference from mod: modulo always returns a non-negative result when the divisor is positive (follows Fortran's modulo semantics).
| [in] | sclsec | DC_SCALED_SEC variable (dividend) |
| [in] | factor | DC_SCALED_SEC variable (divisor) |
Definition at line 2229 of file dc_scaledsec.f90.
References dc_types::dp_eps.