Section Header
  
  
    + name    := FIXED_REAL;
    
  
    - comment := "Real number of fixed decimal part.";
  
Section Insert
  
  
    - parent_real:REAL := 
  
Section SELF
  
    - shift_bits:INTEGER <- 
    
Section Public
  
  
    - floor:INTEGER <-
    
  
  
  
 Conversions with tests
  
  
  
  
 - To unsigned integers
  
  
    - to_uinteger_8:UINTEGER_8     <-   
  
  
    - to_uinteger_16:UINTEGER_16   <- 
  
  
    - to_uinteger_32:UINTEGER_32   <-
  
  
    - to_uinteger_64:UINTEGER_64   <-   
  
  
  
 - To signed integers
  
  
    - to_integer_8:INTEGER_8   <-
  
  
    - to_integer_16:INTEGER_16 <-
  
  
    - to_integer_32:INTEGER_32 <-
  
  
    - to_integer_64:INTEGER_64 <-
    
  
  
 - To unsigned fixed reals
  
  
    - to_ureal_16_16:UREAL_16_16 <-
  
  
    - to_ureal_24_8:UREAL_24_8   <-
  
  
    - to_ureal_26_6:UREAL_26_6   <-
    
  
  
 - To signed fixed reals
  
  
  
    - to_real_16_16:REAL_16_16 <-
  
  
    - to_real_24_8:REAL_24_8   <-
  
  
    - to_real_26_6:REAL_26_6 <-
    
  
  
 - To float reals
  
  
  
    - to_real_32:REAL_32 <-
  
  
    - to_real_64:REAL_64 <-
  
  
    - to_real_80:REAL_80 <-
  
  
    - atan:SELF <- 
  
    - sqrt:SELF <- 
  
    - log:SELF  <- 
  
    - sin:SELF  <- 
  
    - cos:SELF  <- 
  
    - pow exp:SELF :SELF <- 
  
  
 Comparaison.
  
  
  
    - '~=' other:SELF :BOOLEAN <-
    
  
    - is_not_a_number:BOOLEAN <- 
  
  
    - is_infinity:BOOLEAN <- 
 
  
  
 Print.
  
        
  
    - append_in buffer:STRING decimal n:INTEGER <-
    
  
    - scientific_append_in buffer:STRING <-