softfpu-rs icon indicating copy to clipboard operation
softfpu-rs copied to clipboard

A WIP Float32 soft FPU implementation

Results 9 softfpu-rs issues
Sort by recently updated
recently updated
newest added

Subtraction cannot handle "0" cases: ``` assert_eq!(crate::soft_f32::f32_sub(0x0, 0xBDCCCCCE), 0x3DCCCCCE); assert_eq!(crate::soft_f32::f32_sub(0x0, 0x3DCCCCCE), 0xBDCCCCCE); assert_eq!(crate::soft_f32::f32_sub(0x0, 0x0), 0x0); assert_eq!(crate::soft_f32::f32_sub(0x0, 0x80000000), 0x0); ```

There are still many branches which are not well tested. eg. exp of a or b is 0: https://github.com/Inokinoki/softfpu-rs/blob/dcb6a6c97bd6030a5a20374ee05d0645fa8fbdd0/src/soft_f32/soft_f32_mul.rs#L59 https://github.com/Inokinoki/softfpu-rs/blob/dcb6a6c97bd6030a5a20374ee05d0645fa8fbdd0/src/soft_f32/soft_f32_mul.rs#L69

test