Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Corrected open comment in compliant pow() example

...

Code Block
bgColor#ccccff
float x, y, result;

if ( (x == 0.f) && islessequal(y, 0) ) {
  /* handle domain error condition */
}

result = pow(x, y);

...