Changes between Version 90 and Version 91 of IR


Ignore:
Timestamp:
11/29/15 17:00:19 (10 years ago)
Author:
siegel
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • IR

    v90 v91  
    198198* `abs(e)`: given any numeric expression e, returns the absolute value; result is same type as `e`.
    199199* `pow(e,n)`: given any numeric expression e and expression `n` of any integral type, returns e to the n-th power.  `n` must evaluate to a nonnegative integer.
     200* `herbrand(e)`: given a Real or Float value, returns the value as a `HerbrandReal`.  Given an `Integer` or `Int` value, returns the value as a `HerbrandInt`.
     201* functions for conversation floats to reals and back.
     202* functions for converting between Ints and Integers -- or is there a subtype relation?  If so, it must respect all operations.
    200203
    201204Characters and Strings
     
    448451* is there ever a need for a function prototype?  Could variable decl notation be used instead? NO, variable decls are different, those are state variables.
    449452* should we leave our parameter names in abstract and system functions?  They are not needed for anything.  THEY ARE NEEDED FOR CONTRACTS, sometimes, and maybe for documentation.    Consider making them optional.
    450