FIELD: physics.
SUBSTANCE: invention relates to computer engineering. Method of determining the sign of a number in a system of residual classes, suitable for implementation by means of computer equipment, includes, for a system of residual classes with modules ,
, …,
, and triangular matrix with elements
, where
,
, based on input value of number
), where
is the remainder of dividing the number
by the modulus
, calculation of intermediate values
by the computing stage, wherein the
stage calculates the expression
for
, taking the odd modules, based on the input value
) the auxiliary value
is calculated, where
and
, each
stage additionally calculates the expression
for
, after calculating the values
by the computational stage of the value
and
are compared with
/2 and
/2 , respectively and if
>
/2 or both
=
/2 and
/2, then the initial number
is considered to be negative, otherwise it is positive.
EFFECT: expansion of functionality by independence of modules order.
1 cl, 2 tbl
Title | Year | Author | Number |
---|---|---|---|
DEVICE FOR DETERMINING THE SIGN OF NUMBER REPRESENTED IN RESIDUE NUMBER SYSTEM | 2020 |
|
RU2747371C1 |
APPARATUS FOR COMPARING NUMBERS REPRESENTED IN RESIDUE NUMBER SYSTEM | 2020 |
|
RU2751992C1 |
DEVICE FOR DETERMINATION OF NUMBER SIGNS IN SYSTEM OF REMAINDER CLASSES | 2014 |
|
RU2557446C1 |
DEVICE FOR COMPARING NUMBERS IN SYSTEM OF RESIDUAL CLASSES BASED ON INTERVAL-POSITIONAL CHARACTERISTICS | 2014 |
|
RU2557444C1 |
DEVICE FOR COMPARING NUMBERS IN A SYSTEM OF RESIDUAL CLASSES | 2018 |
|
RU2698413C1 |
DEVICE FOR CALCULATING THE RANK OF A MODULAR NUMBER | 2021 |
|
RU2780400C1 |
NEURON NETWORK FOR DIVIDING NUMBERS, REPRESENTED IN REMAINDER CLASS SYSTEM | 2005 |
|
RU2305312C2 |
METHOD OF ORGANIZING IMPLEMENTATION OF MULTIPLICATION OF TWO NUMBERS IN MODULAR LOGARITHMIC FORMAT OF REPRESENTATION WITH FLOATING POINT ON HYBRID MULTI-NUCLEAR PROCESSORS | 2017 |
|
RU2666285C1 |
DEVICE FOR DETERMINING SIGN OF MODULAR NUMBER | 2011 |
|
RU2503995C2 |
DEVICE FOR CALCULATION MONTGOMERY MODULAR PRODUCT | 2017 |
|
RU2652450C1 |
Authors
Dates
2022-03-17—Published
2021-04-01—Filed