function::fp_to_string(3stap)

function::fp_to_string3stap

Convert 64 bit floating point to string

Usage

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

Arguments

infp

the 64 bit floating point stored in long

precision

number of digits after decimal point

Overview

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.

See ALSO0

tapset::floatingpoint(3stap)

Releases

3 releases since Debian 11 (Bullseye); the text changed 2 times.

  1. 11
  2. 12
  3. 13

From systemtap-doc 5.1-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.