Descripción de la Tarea
We need to expand our test coverage for the ieee754 and binary_to_decimal functions to ensure their robustness. The following tasks are proposed:
Pasos a Seguir
-
Test cases for ieee754 function:
- Validate the conversion of edge cases like
+0, -0, +inf, -inf, and NaN.
- Add test cases for various normal and subnormal numbers.
- Ensure that rounding errors are within acceptable limits.
-
Test cases for binary_to_decimal function:
- Add test cases for integer binary strings of varying lengths.
- Validate the conversion of floating-point binary strings.
- Ensure correct handling of edge cases like
0, 1, and long sequences of 1s and 0s.
Información Adicional
Current test:
https://github.com/proyectosingenieriauninorte/NumericalMethods/tree/main/marlonpy/tests
Descripción de la Tarea
We need to expand our test coverage for the
ieee754andbinary_to_decimalfunctions to ensure their robustness. The following tasks are proposed:Pasos a Seguir
Test cases for
ieee754function:+0,-0,+inf,-inf, andNaN.Test cases for
binary_to_decimalfunction:0,1, and long sequences of1s and0s.+0inieee754.-0inieee754.+infinieee754.-infinieee754.NaNinieee754.ieee754.binary_to_decimal.binary_to_decimal.binary_to_decimal.Información Adicional
Current test:
https://github.com/proyectosingenieriauninorte/NumericalMethods/tree/main/marlonpy/tests