Skip to content

Commit

Permalink
Update example.c
Browse files Browse the repository at this point in the history
Signed-off-by: Rejoan Sardar <[email protected]>
  • Loading branch information
Rejoan-Sardar authored Mar 15, 2024
1 parent bdf1250 commit 7814d87
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

#include "stdlib/math/base/special/atanh.h"
#include "stdlib/math/base/special/fast/atanh.h"
#include <stdio.h>

int main( void ) {
Expand All @@ -25,7 +25,7 @@ int main( void ) {
double v;
int i;
for ( i = 0; i < 10; i++ ) {
v = stdlib_base_atanh( x[ i ] );
v = stdlib_base_fast_atanh( x[ i ] );
printf( "atanh(%lf) = %lf\n", x[ i ], v );
}
}

0 comments on commit 7814d87

Please sign in to comment.