pub unsafe extern "C" fn Z3_mk_fpa_to_ieee_bv(
    c: Z3_context,
    t: Z3_ast
) -> Z3_ast
Expand description

Conversion of a floating-point term into a bit-vector term in IEEE 754-2008 format.

  • c: logical context
  • t: term of FloatingPoint sort

t must have FloatingPoint sort. The size of the resulting bit-vector is automatically determined.

Note that IEEE 754-2008 allows multiple different representations of NaN. This conversion knows only one NaN and it will always produce the same bit-vector representation of that NaN.