Branch: Tag:

2014-08-26

2014-08-26 12:10:32 by Per Hedbor <ph@opera.com>

Stricter return types for cast.

This, if nothing else, makes the documentation cleaner.

1068:    push_int(DO_NOT_WARN((INT32)(mpz_sizeinbase(THIS, base))));   }    - /*! @decl mixed cast(string type) + /*! @decl string|int|float cast(string type)    *!    *! Cast this mpz object to another type. Allowed types are string,    *! int and float.