FUNCTION::FP\_TO\_STRI(3stap) Floating point processing Taps FUNCTION::FP\_TO\_STRI(3stap)

# [NAME](#NAME)

function::fp\_to\_string - Convert 64 bit floating point to string

# [SYNOPSIS](#SYNOPSIS)

```


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

# [ARGUMENTS](#ARGUMENTS)

*infp*

the 64 bit floating point stored in long

*precision*

number of digits after decimal point

# [DESCRIPTION](#DESCRIPTION)

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](#SEE_ALSO0)

[*tapset::floatingpoint*(3stap)](/man/enterprise-packages/systemtap/tapset::floatingpoint.3stap)

September 2026 SystemTap Tapset Reference Ver

---

Document: function::fp_to_string(3stap) from systemtap 5.6-r1 (Chainguard OS)
Source: https://sourceware.org/git/systemtap.git
