Claims
- 1. A data selection device, said device comprising:
- storage means for storing data and having a capacity of being able to store an amount of data to be selected;
- arithmetic operation means for performing an arithmetic operation on the data stored in said storage means;
- comparing means for comparing the data stored in said storage means and a result of the arithmetic operation, a comparison result provided by said comparing means being used subsequently in selection of data;
- update means for updating the data stored in said storage means, based on the comparison between the data stored in said storage means and the result of the arithmetic operation; and
- initialization means for initializing data stored in said storage means to a predetermined value according to an order in which the data is to be read out of said storage means, when a first arithmetic operation is performed by said arithmetic operation means.
- 2. A data selection device according to claim 1, further comprising replacement means for providing a maximum value or a minimum value of data to said comparing means in place of the result of the arithmetic operation when the result of the arithmetic operation output by the arithmetic operation unit exceeds a predetermined range.
- 3. A data selection device according to claim 2, wherein the maximum or minimum value of data stored by said replacement means is selected in correspondence to ascending or descending order, and an upper and a lower limit of the predetermined range.
- 4. A data selection device according to claim 1, further comprising an identifier addition means for adding an identifier to the result of the arithmetic operation output by the arithmetic operation unit.
- 5. A data selection device according to claim 4, wherein the identifier from said identifier addition means is selected in correspondence to ascending or descending order, and an upper and a lower limit of the predetermined range.
- 6. A data selection device according to claim 1, wherein said initialization means initializes with a different predetermined value depending on whether or not the data is signed or unsigned.
- 7. A data selection device according to claim 1, further comprising replacement means for storing a substitution value selected from the data stored in said storage means when the result of the arithmetic operation output by the arithmetic operation unit exceeds a predetermined range.
- 8. A computer implemented data selection method, said method comprising the steps of:
- storing data in storage means, the storage means having a capacity being able to store an amount of data to be selected;
- performing an arithmetic operation on the data stored in the storage means;
- comparing the data stored in the storage means and a result of the arithmetic operation, a comparison result provided by said comparing step being used subsequently in selection of data;
- updating data in the storage means, based on the comparison between the data stored in the storage means and the result of the arithmetic operation; and
- data stored in the storage means to a predetermined value according to an order in which the data is to be read out of said storage means, when a first arithmetic operation is performed.
- 9. A data selection method according to claim 8, further comprising a replacement step for providing a maximum value or a minimum value of data to be compared in said comparing step in place of the result of the arithmetic operation when the result of the arithmetic operation output by said arithmetic operation step exceeds a predetermined range.
- 10. A data selection method according to claim 9, wherein the maximum or minimum value of data stored by said replacement step is selected in correspondence to ascending or descending order, and an upper and a lower limit of the predetermined range.
- 11. A data selection method according to claim 8, further comprising a step for adding an identifier to the result of the arithmetic operation output by the arithmetic operation unit.
- 12. A data selection method according to claim 11, wherein the added identifier is selected in correspondence to ascending or descending order, and an upper and a lower limit of the predetermined range.
- 13. A data selection method according to claim 8, wherein said initialization step initializes with a different predetermined value depending on whether or not the data is signed or unsigned.
- 14. A data selection method according to claim 8, further comprising a step for storing a substitution value selected from the data stored in the storage means when the result of the arithmetic operation output by the arithmetic operation unit exceeds a predetermined range.
Priority Claims (1)
Number |
Date |
Country |
Kind |
1-230418 |
Sep 1989 |
JPX |
|
Parent Case Info
This application is a continuation of application Ser. No. 08/279,076, filed Jul. 22, 1994, now abandoned, which was a continuation of application Ser. No. 07/577,578 filed Sep. 5, 1990, now abandoned.
US Referenced Citations (5)
Continuations (2)
|
Number |
Date |
Country |
Parent |
279076 |
Jul 1994 |
|
Parent |
577578 |
Sep 1990 |
|