mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-24 08:06:52 +02:00
254 lines
4.0 KiB
Plaintext
254 lines
4.0 KiB
Plaintext
<!-- ##### SECTION Title ##### -->
|
|
Limits of Basic Types
|
|
|
|
<!-- ##### SECTION Short_Description ##### -->
|
|
portable method of determining the limits of the standard types
|
|
|
|
<!-- ##### SECTION Long_Description ##### -->
|
|
<para>
|
|
These macros provide a portable method to determine the limits of some of
|
|
the standard integer and floating point types.
|
|
</para>
|
|
|
|
<!-- ##### SECTION See_Also ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
<!-- ##### SECTION Stability_Level ##### -->
|
|
|
|
|
|
<!-- ##### SECTION Image ##### -->
|
|
|
|
|
|
<!-- ##### MACRO G_MININT ##### -->
|
|
<para>
|
|
The minimum value which can be held in a #gint.
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### MACRO G_MAXINT ##### -->
|
|
<para>
|
|
The maximum value which can be held in a #gint.
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### MACRO G_MAXUINT ##### -->
|
|
<para>
|
|
The maximum value which can be held in a #guint.
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### MACRO G_MINSHORT ##### -->
|
|
<para>
|
|
The minimum value which can be held in a #gshort.
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### MACRO G_MAXSHORT ##### -->
|
|
<para>
|
|
The maximum value which can be held in a #gshort.
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### MACRO G_MAXUSHORT ##### -->
|
|
<para>
|
|
The maximum value which can be held in a #gushort.
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### MACRO G_MINLONG ##### -->
|
|
<para>
|
|
The minimum value which can be held in a #glong.
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### MACRO G_MAXLONG ##### -->
|
|
<para>
|
|
The maximum value which can be held in a #glong.
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### MACRO G_MAXULONG ##### -->
|
|
<para>
|
|
The maximum value which can be held in a #gulong.
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### MACRO G_MININT8 ##### -->
|
|
<para>
|
|
The minimum value which can be held in a #gint8.
|
|
</para>
|
|
|
|
@Since: 2.4
|
|
|
|
|
|
<!-- ##### MACRO G_MAXINT8 ##### -->
|
|
<para>
|
|
The maximum value which can be held in a #gint8.
|
|
</para>
|
|
|
|
@Since: 2.4
|
|
|
|
|
|
<!-- ##### MACRO G_MAXUINT8 ##### -->
|
|
<para>
|
|
The maximum value which can be held in a #guint8.
|
|
</para>
|
|
|
|
@Since: 2.4
|
|
|
|
|
|
<!-- ##### MACRO G_MININT16 ##### -->
|
|
<para>
|
|
The minimum value which can be held in a #gint16.
|
|
</para>
|
|
|
|
@Since: 2.4
|
|
|
|
|
|
<!-- ##### MACRO G_MAXINT16 ##### -->
|
|
<para>
|
|
The maximum value which can be held in a #gint16.
|
|
</para>
|
|
|
|
@Since: 2.4
|
|
|
|
|
|
<!-- ##### MACRO G_MAXUINT16 ##### -->
|
|
<para>
|
|
The maximum value which can be held in a #guint16.
|
|
</para>
|
|
|
|
@Since: 2.4
|
|
|
|
|
|
<!-- ##### MACRO G_MININT32 ##### -->
|
|
<para>
|
|
The minimum value which can be held in a #gint32.
|
|
</para>
|
|
|
|
@Since: 2.4
|
|
|
|
|
|
<!-- ##### MACRO G_MAXINT32 ##### -->
|
|
<para>
|
|
The maximum value which can be held in a #gint32.
|
|
</para>
|
|
|
|
@Since: 2.4
|
|
|
|
|
|
<!-- ##### MACRO G_MAXUINT32 ##### -->
|
|
<para>
|
|
The maximum value which can be held in a #guint32.
|
|
</para>
|
|
|
|
@Since: 2.4
|
|
|
|
|
|
<!-- ##### MACRO G_MININT64 ##### -->
|
|
<para>
|
|
The minimum value which can be held in a #gint64.
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### MACRO G_MAXINT64 ##### -->
|
|
<para>
|
|
The maximum value which can be held in a #gint64.
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### MACRO G_MAXUINT64 ##### -->
|
|
<para>
|
|
The maximum value which can be held in a #guint64.
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### MACRO G_MAXSIZE ##### -->
|
|
<para>
|
|
The maximum value which can be held in a #gsize.
|
|
</para>
|
|
|
|
@Since: 2.4
|
|
|
|
|
|
<!-- ##### MACRO G_MINSSIZE ##### -->
|
|
<para>
|
|
The minimum value which can be held in a #gssize.
|
|
</para>
|
|
|
|
@Since: 2.14
|
|
|
|
|
|
<!-- ##### MACRO G_MAXSSIZE ##### -->
|
|
<para>
|
|
The maximum value which can be held in a #gssize.
|
|
</para>
|
|
|
|
@Since: 2.14
|
|
|
|
|
|
<!-- ##### MACRO G_MINOFFSET ##### -->
|
|
<para>
|
|
The minimum value which can be held in a #goffset.
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### MACRO G_MAXOFFSET ##### -->
|
|
<para>
|
|
The maximum value which can be held in a #goffset.
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### MACRO G_MINFLOAT ##### -->
|
|
<para>
|
|
The minimum positive value which can be held in a #gfloat.
|
|
</para>
|
|
<para>
|
|
If you are interested in the smallest value which can be held in a #gfloat,
|
|
use -G_MAXFLOAT.
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### MACRO G_MAXFLOAT ##### -->
|
|
<para>
|
|
The maximum value which can be held in a #gfloat.
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### MACRO G_MINDOUBLE ##### -->
|
|
<para>
|
|
The minimum positive value which can be held in a #gdouble.
|
|
</para>
|
|
<para>
|
|
If you are interested in the smallest value which can be held in a #gdouble,
|
|
use -G_MAXDOUBLE.
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### MACRO G_MAXDOUBLE ##### -->
|
|
<para>
|
|
The maximum value which can be held in a #gdouble.
|
|
</para>
|
|
|
|
|
|
|