示例#1
0
文件: _unord_dd.c 项目: gmarkall/gcc
CMPtype
__bid_unorddd2 (_Decimal64 x, _Decimal64 y) {
  CMPtype res;
  union decimal64 ux, uy;
 
  ux.d = x;
  uy.d = y;
  res = __bid64_quiet_unordered (ux.i, uy.i);
  return (res);
}
示例#2
0
文件: _unord_sd.c 项目: kostyll/gccpy
CMPtype
__bid_unordsd2 (_Decimal32 x, _Decimal32 y) {
    CMPtype res;
    UINT64 x64, y64;
    union decimal32 ux, uy;

    ux.d = x;
    uy.d = y;
    x64 = __bid32_to_bid64 (ux.i);
    y64 = __bid32_to_bid64 (uy.i);
    res = __bid64_quiet_unordered (x64, y64);
    return (res);
}