/[eiffelstudio]/FreeELKS/trunk/library/kernel/natural_8.e
ViewVC logotype

Diff of /FreeELKS/trunk/library/kernel/natural_8.e

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 91447 by ericb, Tue Jan 10 13:22:04 2006 UTC revision 91477 by ericb, Sun Jan 14 09:47:13 2007 UTC
# Line 1  Line 1 
1  indexing  indexing
2          description: "Integer values coded on 8 bits"          description: "Integer values coded on 8 bits"
3            external_name: "System.Byte"
4            assembly: "mscorlib"
5          library: "Free implementation of ELKS library"          library: "Free implementation of ELKS library"
6          copyright: "Copyright (c) 1986-2005, Eiffel Software and others"          copyright: "Copyright (c) 1986-2005, Eiffel Software and others"
7          license: "Eiffel Forum License v2 (see forum.txt)"          license: "Eiffel Forum License v2 (see forum.txt)"
8          date: "$Date$"          date: "$Date$"
9          revision: "$Revision$"          revision: "$Revision$"
10    
11  expanded class NATURAL_8 inherit  frozen expanded class NATURAL_8 inherit
12    
13          NATURAL_8_REF          NATURAL_8_REF
14                  redefine                  redefine
# Line 29  expanded class NATURAL_8 inherit Line 31  expanded class NATURAL_8 inherit
31                          as_integer_64,                          as_integer_64,
32                          to_real_32,                          to_real_32,
33                          to_real_64,                          to_real_64,
34                          to_character,                          to_character_8,
35                            to_character_32,
36                          bit_and,                          bit_and,
37                          bit_or,                          bit_or,
38                          bit_xor,                          bit_xor,
# Line 44  create Line 47  create
47    
48  convert  convert
49          make_from_reference ({NATURAL_8_REF}),          make_from_reference ({NATURAL_8_REF}),
         to_reference: {NATURAL_8_REF, NUMERIC, COMPARABLE, PART_COMPARABLE, HASHABLE, ANY},  
50          to_real_32: {REAL},          to_real_32: {REAL},
51          to_real_64: {DOUBLE},          to_real_64: {DOUBLE},
52          to_integer_16: {INTEGER_16},          to_integer_16: {INTEGER_16},
# Line 174  feature -- Conversion Line 176  feature -- Conversion
176                          "built_in"                          "built_in"
177                  end                  end
178    
179          to_character: CHARACTER is          to_character_8: CHARACTER_8 is
180                          -- Returns corresponding ASCII character to `item' value.                          -- Associated character in 8 bit version.
181                    external
182                            "built_in"
183                    end
184    
185            to_character_32: CHARACTER_32 is
186                            -- Associated character in 32 bit version.
187                  external                  external
188                          "built_in"                          "built_in"
189                  end                  end

Legend:
Removed from v.91447  
changed lines
  Added in v.91477

  ViewVC Help
Powered by ViewVC 1.1.23