Fixed_Point_Type¶
- class Fixed_Point_Type (abstract, logical)¶
This is the superclass for all fixed-point types.
- Direct parents:
inherits Basic_Type
- Ancestor classes and implemented interfaces:
Basic_Type, Declarative_Node, Logical_IR_Root, Member, Named_Entity, Named_Type, Symbol, Type
- Direct child classes:
subclass C_Unsigned_Short_Fixed_Point_Type
subclass C_Unsigned_Int_Fixed_Point_Type
subclass C_Unsigned_Long_Fixed_Point_Type
subclass C_Short_Fixed_Point_Type
subclass C_Int_Fixed_Point_Type
subclass C_Long_Fixed_Point_Type
Field
Kind
Type
Description
Saturating
attribute
builtin Boolean
Fractional
attribute
builtin Boolean
Size (from Type)
attribute
builtin Natural
Alignment_Log (from Type)
attribute
builtin Byte
log2 of the type’s alignment
Alignment (from Type)
attribute
builtin Natural
Alignment of the type (must be a power of 2)
Size_In_Bits (from Type)
attribute
builtin UInt64
Size of the type, in bits.
Parent (from Logical_IR_Root)
semantic
class Logical_IR_Root
Physical (from Logical_IR_Root)
semantic to physical
class Physical_IR_Root
Visibility (from Member)
attribute
enum Visibility_Type
Name (from Named_Entity)
attribute
builtin String