Content deleted Content added
Rationale |
|||
Line 131:
== Notable differences ==
The similar functions defined here have notable difference when it comes to return value of "tricky" numbers. For example, using sqrt to compute [[square root]] of -25 returns -[[NaN|nan]], whereas, csqrt returns 0.000000. Such differences may be noticed in other functions also.
== Rationale ==
This header file is mainly included while calculating mathematical functions.As it includes both [[math.h]] and [[complex.h]], the problem arising due to inconsistent input is solved. Including any of the header files, individually, involves, inconsistent outputs for some inputs.
==References==
|