An actual parameter value was outside the range of acceptable values for the function.
This error occurs, for example, when calling the square root function with a negative number. For memory allocation routines, this error indicates that a value was passed that is bigger than the maximum signed integer.
This same kind of error can also happen when a FORTRAN dummy argument of type subroutine is invoked. That is, the subroutine that is invoked through a dummy argument might exhibit the same problem as can occur in a direct call. In this case, the problem may or may not happen, depending on what subroutine was passed to the dummy argument of subroutine type. There will be an additional observation in such cases that identifies the call site where the subroutine argument was passed in.
ID |
Observation |
Description |
---|---|---|
1 |
Call site |
The actual argument that was passed |
#include <stdio.h> #include <math.h> double x; int main(int argc, char **argv) { x = -1.0; x = sqrt(x); // error because x is less than zero here printf("I am %g\n", x); }
Copyright © 2010, Intel Corporation. All rights reserved.