@@ -161,7 +161,7 @@ mod test {
161161
162162 // Test implementation precision against exact mathematical result
163163 let relative_error = ( ( actual_linear - exact_linear) / exact_linear) . abs ( ) ;
164- const MAX_RELATIVE_ERROR : f32 = 5.0 * f32:: EPSILON ; // Measured max error: 2.3x ε (at -100dB), with 2x safety margin
164+ const MAX_RELATIVE_ERROR : f32 = 5.0 * f32:: EPSILON ; // max error: 2.3x ε (at -100dB), with 2x safety margin
165165
166166 assert ! (
167167 relative_error < MAX_RELATIVE_ERROR ,
@@ -193,7 +193,7 @@ mod test {
193193 if exact_db. abs ( ) > 10.0 * f32:: EPSILON {
194194 // Use relative error for non-zero dB values
195195 let relative_error = ( ( actual_db - exact_db) / exact_db. abs ( ) ) . abs ( ) ;
196- const MAX_RELATIVE_ERROR : f32 = 5.0 * f32:: EPSILON ; // Measured max error: 1.0x ε, with 5x safety margin
196+ const MAX_RELATIVE_ERROR : f32 = 5.0 * f32:: EPSILON ; // max error: 1.0x ε, with 5x safety margin
197197
198198 assert ! (
199199 relative_error < MAX_RELATIVE_ERROR ,
@@ -240,7 +240,7 @@ mod test {
240240 let round_trip_db = linear_to_db ( linear) ;
241241
242242 let error = ( round_trip_db - original_db) . abs ( ) ;
243- const MAX_ROUND_TRIP_ERROR : f32 = 16.0 * f32:: EPSILON ; // Measured max error: 8x ε (practical audio range), with 2x safety margin
243+ const MAX_ROUND_TRIP_ERROR : f32 = 16.0 * f32:: EPSILON ; // max error: 8x ε (practical audio range), with 2x safety margin
244244
245245 assert ! (
246246 error < MAX_ROUND_TRIP_ERROR ,
0 commit comments