handle math domain exception in argon_calculations