FUNCTION::STRING_TO_FP(3stap)
π FUNCTION::STRING_TO_FP π
okay bestie, welcome to the floating point processing Tapsets corner of the SystemTap manual β¨ this one lives in section 3stap and it's literally so useful, i promise π«Ά
β¨ NAME β¨
function::string_to_fp β convert the given string into floating point π
like. the name says it all. it takes a string, it gives you a float. iconic behaviour honestly.
πΈ SYNOPSIS πΈ
string_to_fp:long(input:string)
one function, one argument, one long coming back at ya. no cap. π
π ARGUMENTS π
inputβ the string representation of a decimal number π like, the text version of your number, as a string. that's it. that's the whole job.
π« DESCRIPTION π«
so here's the vibe: you hand this function the string representation of a decimal number, and it converts it into a floating point β which gets stored in a 64 bit long. π§
that's the entire plot bestie. string goes in, float-shaped long comes out, 64 bits of pure main character energy π
π₯ SEE ALSO π₯
tapset::floatingpoint(3stap)β go read this one too, it's the whole floatingpoint tapset fam π
okay that's the page!! mwah π β¨ this was the SystemTap Tapset Reference, September 2026, floating point processing Tapsets edition β go forth and convert your strings, bestie, you got this π«Άππ¦
π¦ 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