DEVELOPMENT EDITION · 769442725406
Library Reference
Generic subprogram Ada.Unchecked_Conversion
Ada.Unchecked_Conversion (RM 13.9), as Verada models it precisely: between scalar types stored in the same number of bits, the result is the value whose bits are the source's. A target type with bit patterns that are not its values (a range narrower than its storage, an enumeration with fewer literals, a float's NaNs and infinities) gets a check that the bits are a value of it, which the prover proves like any range check.
generic
type Source (<>) is limited private;
type Target (<>) is limited private;
function Ada.Unchecked_Conversion (S : Source) return Target
with Global => null,
Import, Convention => Ada, External_Name => "verada_unchecked_conversion";