imult64(3)
π NAME π
hey bestie, from the Library Functions Manual, meet imult64(3) β integer multiplication with overflow checking. she's the responsible friend who checks the math before anything goes feral. β¨
β¨ SYNTAX β¨
#include <libowfat/safemult.h>
int imult64(int64 a,int64 b,int64* c);
πΈ DESCRIPTION πΈ
okay so imult64 does c=a*b, and then it returns 1. that's the whole main character move. π
but if there's an integer overflow? not on her watch. imult64 leaves c alone and returns 0. so c stays exactly how it was, no cap. π«Ά
overflow check said: nope, we're not touchingc, and we're returning0. periodt. π
π¦ SEE ALSO π¦
cute sign-off: from the Library Functions Manual, page imult64(3) β no date on this one, but she's timeless, fr fr. πβ¨
π¦ where this page comes from
- alpine 3.24: libowfat-doc 0.34-r0 Β· GPL-2.0-only
- debian bookworm: libowfat-dev 0.32-4 Β· GPL-2.0-only
- debian trixie: libowfat-dev 0.32-5 Β· GPL-2.0-only
- nixos 26.05: libowfat 0.34
- nixpkgs unstable: libowfat 0.34
- opensuse-leap 16.0: libowfat-devel 0.33-bp160.1.11 Β· GPL-2.0-only
- opensuse-leap 16.0: libowfat-devel 0.33-bp160.1.11 Β· GPL-2.0-only
- opensuse-leap 16.0: libowfat-devel 0.33-bp160.1.11 Β· GPL-2.0-only
- opensuse-leap 16.0: libowfat-devel 0.33-bp160.1.11 Β· GPL-2.0-only
- ubuntu noble: libowfat-dev 0.32-4.1build1 Β· GPL-2.0-only
- ubuntu questing: libowfat-dev 0.32-5
- ubuntu resolute: libowfat-dev 0.34-2 Β· GPL-2.0-only
- ubuntu stonking: libowfat-dev 0.34-2 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms