Research Article
Detecting Floating-Point Expression Errors Based Improved PSO Algorithm
Algorithm 1
Extracting peak points based on AMPD algorithm.
Require: expression , | 1: Us Uniform_sample(a, b, 100,000) | 2: for of Us do | 3: temp_error | 4: error_list.append(temp_error) | 5: end for | 6: peak_list AMPD(error_list) | 7: peak_list, error_list |
|