Fixed a long-standing issue with negative exponentation