src/cplib/math/nearest_equiv
Dark Mode
Index
Search:
Group by:
Section
Type
Consts
CPLIB_MATH_NEAREST_EQUIV
Procs
nearest_equiv
nearest_equiv(x, l, m: int): int
Source
Edit
Consts
CPLIB_MATH_NEAREST_EQUIV
=
1
Source
Edit
Procs
proc
nearest_equiv
(
x
,
l
,
m
:
int
)
:
int
{.
...
raises
:
[
]
,
tags
:
[
]
.}
(y ≡ x mod m) かつ (y ≧ l) であるような最小の整数 y を返します。
Source
Edit