FUNCTION::FP_TO_LONG(3stap)
π FUNCTION::FP_TO_LONG π
okay bestie, so this one lives in the SystemTap Tapset Reference, section 3stap, and it's literally the glow-up machine that takes your floating point and hands you back an int64. no cap. π¦
β¨ NAME β¨
function::fp_to_long β Convert fp to int64 π
πΈ SYNOPSIS πΈ
fp_to_long:long(infp:long,roundingMode:long,exact:long)
π ARGUMENTS π
infpβ the 64 bit floating point stored in long. that's the lil guy we're converting, periodt. πroundingModeβ through0-6, which are round to nearest even, minMag, min, max, near maxMag and round to odd. pick your fighter, she does all seven. πexactβ the boolean value, if exact is1than raising inexact exception, otherwise ignore the exception. so like,1= we're dramatic about it,0= we're chill. π
π 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. so it's giving "build the float64_t, run f64_to_i64, get the string rep" β a whole three-step main character arc and honestly? iconic. π
π₯ SEE ALSO π₯
and that's the tea, bestie β¨ this page came to you straight from the SystemTap Tapset Reference, Ver, dated September 2026 β take care of her, she ate ππ«Άπ
π¦ where this page comes from
- centos-stream 10: systemtap-client 5.6-3.el10 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- centos-stream 9: systemtap-client 5.6-3.el9 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- fedora 43: systemtap-client 5.6-1.fc43 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- fedora 44: systemtap-client 5.6-1.fc44 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms