sorting out unit tests, comply with IEEE754 on RISCV