'\" t .\" Title: function::fp_to_string .\" Author: .\" Generator: DocBook XSL Stylesheets vsnapshot .\" Date: May 2021 .\" Manual: Floating point processing Tapset .\" Source: SystemTap Tapset Reference .\" Language: English .\" .TH "FUNCTION::FP_TO_STRI" "3stap" "May 2021" "SystemTap Tapset Reference" "Floating point processing Taps" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" function::fp_to_string \- Convert 64 bit floating point to string .SH "SYNOPSIS" .sp .nf fp_to_string:string(infp:long,precision:long) .fi .SH "ARGUMENTS" .PP \fIinfp\fR .RS 4 the 64 bit floating point stored in long .RE .PP \fIprecision\fR .RS 4 number of digits after decimal point .RE .SH "DESCRIPTION" .PP 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\&. .SH SEE ALSO\n .IR tapset::floatingpoint (3stap)