Name
conv_*
Synopsis
conv_i1DEST
,VAL
conv_i1_ovfDEST
,VAL
Convert value to integer or number of given type
i1
, i2
, i4
,
i8
, u1
, u2
,
u4
, r4
, r8
.
i
corresponds to a signed integer,
u
to an unsigned integer, and r
to a float; the number indicates the size (in bytes) of the type. The
variants with _ovf
throw an exception if the
conversion would overflow.
Get Perl 6 and Parrot Essentials, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.