pike.git / CHANGES

version» Context lines:

pike.git/CHANGES:30:    typedef typeof(Val.true)|typeof(Val.false) bool;       typeof, when used like this, behaves very much like the C++    decltype() expression.      o Shorthand for int(val..val) added: int(val).       A syntax for when the range of an integer type only    contains a single value.    + o Shorthand for string(val..val) added: string(val). +  +  A syntax for when the range of a string type only +  contains a single value. +    o ** operator added. It's exponentiation and works with most    combination of numerical types (int,float,Gmp.mpq,Gmp.mpf,Gmp.mpz)       `** and ``** operator overloading functions added.       This introduces one incompatible change: Previously the "pow"    function called a "_pow" function in the first argument if it was an    object. It has now been changed to also use `** (or, rather, pow()    is now implemented using predef::`**()).