- Timestamp:
-
08/23/12 07:22:20 (12 years ago)
- Author:
-
Xiaochen Pan
- Comment:
-
/* Floats */
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v4
|
v5
|
|
87 | 87 | assert_float_within(delta, expected, actual) |
88 | 88 | |
89 | | assert_float_lt(expected, actual) //Asserts that the actual value is less than expected within a couple of significant bits |
| 89 | assert_float_lt(expected, actual) |
| 90 | Asserts that the actual value is less than expected within a couple of significant bits |
90 | 91 | |
91 | 92 | assert_float_le(expected, actual) |
92 | | |
| 93 | |
93 | 94 | assert_float_gt(expected, actual) |
94 | 95 | |
… |
… |
|
101 | 102 | assert_double_within(delta, expected, actual) |
102 | 103 | |
103 | | assert_double_lt(expected, actual) //Asserts that the actual value is less than expected within a couple of significant bits |
| 104 | assert_double_lt(expected, actual) |
| 105 | Asserts that the actual value is less than expected within a couple of significant bits |
104 | 106 | |
105 | 107 | assert_double_le(expected, actual) |
106 | | |
| 108 | |
107 | 109 | assert_double_gt(expected, actual) |
108 | 110 | |