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

NAME

6       function::fp_to_string - Convert 64 bit floating point to string
7

SYNOPSIS

9           fp_to_string:string(infp:long,precision:long)
10

ARGUMENTS

12       infp
13           the 64 bit floating point stored in long
14
15       precision
16           number of digits after decimal point
17

DESCRIPTION

19       Given a 64 bit floating point, which is stored in long, use the long
20       value to initiate self-defined float64_t type, then apply the
21       f64_to_i64 function to get the string representation.
22

SEE ALSO

24       tapset::floatingpoint(3stap)
25
26
27
28SystemTap Tapset Reference         May 2021        FUNCTION::FP_TO_STRI(3stap)
Impressum