[ { "name": "e^0 is exactly 1", "args": [0], "expect": 1 }, { "name": "e^1 is e", "args": [1], "expect": 2.718281828459045 }, { "name": "e^-1", "args": [-1], "expect": 0.36787944117144233 }, { "name": "e^(ln 2) is 2", "args": [0.6931471805599453], "expect": 2 }, { "name": "e^10", "args": [10], "expect": 22026.465794806718 }, { "name": "e^0.5 is the square root of e", "args": [0.5], "expect": 1.6487212707001282 }, { "name": "near the top of the range", "args": [700], "expect": 1.0142320547350045e+304 }, { "name": "near the bottom of the range", "args": [-700], "expect": 9.85967654375977e-305 }, { "name": "above 709 overflows and is an error", "args": [710], "expectError": "exp needs x between -708 and 709" }, { "name": "below -708 is an error", "args": [-709], "expectError": "exp needs x between -708 and 709" } ]