Skip to content

[doc] Size of IV & UV in perlguts & perl.h  #18995

@FGasper

Description

@FGasper

Where

perlguts describes IV as:

guaranteed to be large enough to hold a pointer (as well as an integer)

… which sounds a lot like the description of intmax_t:

A signed integer type capable of representing any value of any signed integer type.

These sound like system-wide things, but in actual implementation the size of IV and UV vary with Perl’s configuration.

Should these docs be amended to stipulate that it’s not about what the platform supports, but what Perl is configured for?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions