Design and implementation of R4-MSD square root algorithm in ternary optical computer
摘要
The square root is one of the most important basic operations in computers. Based on the parallel carry-free TW-MSD adder, the parallel R4-MSD square root algorithm is proposed and presented. The algorithm is designed and implemented on the protype SD16 of ternary optical computer, which is developed by Shanghai University in 2016. The processes of the R4-MSD square root algorithm is described in detail. The optical experiment of the square root algorithm is presented based on the protype SD16 of ternary optical computer. It is proved that there are at most two square roots for MSD number representations of a positive decimal number within a given precision scope. It takes