Add support for the `exp/1` standard function for Quintus Prolog