Glib::P...::Double(3)

okay so this is Glib::P...::Double(3), straight outta User Contributed Perl Documentation β€” yes bestie, the Perl docs, and we’re about to make floating-point paramspec lore make sense πŸ’–βœ¨

🌸 NAME 🌸

Glib::Param::Double β€” wrapper for double parameters in GLib. That’s the whole vibe: it’s the double-param wrapper, no cap πŸ’…

πŸ¦‹ HIERARCHY πŸ¦‹

okay so here’s the family tree, and yes it branches in two cute directions 🫢

Glib::ParamSpec
+----Glib::Param::Double

Glib::ParamSpec
+----Glib::Param::Float

✨ DESCRIPTION ✨

This page documents the extra accessors available for both of the floating-point type paramspecs: Float and Double πŸ”₯

Perl really only supports doubles, so all of these methods return NVs (that is, the C type double). The distinction of size is important to the underlying C library and also determines the data value range β€” so like, the size difference is not just aesthetic, it’s literally doing something in C-land πŸ’€βœ¨

🌈 SEE ALSO 🌈

  • Glib
  • Glib::ParamSpec

Copyright (C) 2003-2011 by the gtk2-perl team.

This software is licensed under the LGPL. See Glib for a full notice. 🫢


byeee β€” this page came from perl v5.42.0, dated 2023-09-05, and its footer tag is Glib::P...::Double(3) πŸ’–

πŸ“¦ where this page comes from