I have the following function in my program and it is giving me an EInvalidOp (Invalid Floating Point Operation):

```
function TMyProgram.GetVal(A, B, C, D, E: double): double;

begin

  Result := A/Power((C - D)/(D - B), 1/E);

end;

```

The values of the parameters are:

A: 320.068,
B: 84.46,
C: 91.632,
D: 24.15,
E: 11

Excel gives me a result of -316.815, but Delphi is giving me an error when I execute this function.