示例#1
0
uint64_t helper_fcvt_d_s(CPURISCVState *env, uint64_t rs1, uint64_t rm)
{
    softfloat_roundingMode = RISCV_RM;
    rs1 = f32_to_f64(rs1);
    set_fp_exceptions;
    return rs1;
}
示例#2
0
文件: double.c 项目: Tilka/epsilon
aeabi_double_t __aeabi_f2d(aeabi_float_t f) {
  return d(f32_to_f64(f32(f)));
}