function::fp_to_long
Convert fp to int64
- Provided by: systemtap-doc (Version: 5.0-2ubuntu1)
- Source: systemtap
- Report a bug
Convert fp to int64
fp_to_long:long(infp:long,roundingMode:long,exact:long)
infp
roundingMode
exact
Given a 64 bit floating point, which is stored in long, use the long value to initiate self-defined float64_t type, then apply the f64_to_i64 function to get the string representation.