Research Article

Detecting Floating-Point Expression Errors Based Improved PSO Algorithm

Table 3

Init population according to floating-point distribution.

Init population interval
Range

b −1[a, b]M
a −1 b 1M/2, M/2
a −1 b 1M/4, M/2, M/4
−1 ab 1M
−1 a 1 bM/2, M/2
1 a 1M