note description: "String - Integer/Natural conversion overflow checker" library: "Free implementation of ELKS library" status: "See notice at end of class." legal: "See notice at end of class." date: "$Date: 2017-03-23 20:42:57 +0000 (Thu, 23 Mar 2017) $" revision: "$Revision: 100036 $" class interface INTEGER_OVERFLOW_CHECKER create make feature -- Overflow checking will_overflow (part1: like max_natural_type; part2: like max_natural_type; type: INTEGER_32; sign: INTEGER_32): BOOLEAN -- Will part1 * 10 + part2 with sign overflow -- if we convert it to an number of type? require type_valid: integer_natural_type_valid (type) note copyright: "Copyright (c) 1984-2017, Eiffel Software and others" license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)" source: "[ Eiffel Software 5949 Hollister Ave., Goleta, CA 93117 USA Telephone 805-685-1006, Fax 805-685-6869 Website http://www.eiffel.com Customer support http://support.eiffel.com ]" end -- class INTEGER_OVERFLOW_CHECKER
Generated by ISE EiffelStudio