1FUNCTION::FP_TO_LONG(3staFpl)oating point processing TaFpUsNCTION::FP_TO_LONG(3stap)
2
3
4

NAME

6       function::fp_to_long - Convert fp to int64
7

SYNOPSIS

9           fp_to_long:long(infp:long,roundingMode:long,exact:long)
10

ARGUMENTS

12       infp
13           the 64 bit floating point stored in long
14
15       roundingMode
16           through 0-6, which are round to nearest even, minMag, min, max,
17           near maxMag and round to odd
18
19       exact
20           the boolean value, if exact is 1 than raising inexact exception,
21           otherwise ignore the exception.
22

DESCRIPTION

24       Given a 64 bit floating point, which is stored in long, use the long
25       value to initiate self-defined float64_t type, then apply the
26       f64_to_i64 function to get the string representation.
27

SEE ALSO

29       tapset::floatingpoint(3stap)
30
31
32
33SystemTap Tapset Reference       November 2020     FUNCTION::FP_TO_LONG(3stap)
Impressum