class KL_INTEGER_ROUTINES General cluster: kernel description: "Routines that ought to be in class INTEGER" Ancestors KL_IMPORTED_ANY_ROUTINES KL_IMPORTED_STRING_ROUTINES KL_SHARED_PLATFORM Queries Any_: KL_ANY_ROUTINES bit_and (m, n: INTEGER_32): INTEGER_32 bit_not (n: INTEGER_32): INTEGER_32 bit_or (m, n: INTEGER_32): INTEGER_32 bit_shift_left (m, n: INTEGER_32): INTEGER_32 bit_shift_right (m, n: INTEGER_32): INTEGER_32 bit_xor (m, n: INTEGER_32): INTEGER_32 div (x, n: INTEGER_32): INTEGER_32 is_even (an_int: INTEGER_32): BOOLEAN mod (x, n: INTEGER_32): INTEGER_32 Platform: KL_PLATFORM power (x, n: INTEGER_32): INTEGER_32 String_: KL_STRING_ROUTINES to_character (an_int: INTEGER_32): CHARACTER_8 to_decimal (an_int: INTEGER_32): STRING_8 to_hexadecimal (an_int: INTEGER_32; uppercase: BOOLEAN): STRING_8 to_integer (an_int: INTEGER_32): INTEGER_32 to_integer_8 (an_int: INTEGER_32): INTEGER_8 to_octal (an_int: INTEGER_32): STRING_8 Commands append_decimal_integer (an_int: INTEGER_32; a_string: STRING_8) append_hexadecimal_integer (an_int: INTEGER_32; a_string: STRING_8; uppercase: BOOLEAN) append_octal_integer (an_int: INTEGER_32; a_string: STRING_8)
Generated by ISE EiffelStudio