Skip to content

Commit

Permalink
''
Browse files Browse the repository at this point in the history
  • Loading branch information
AbhijitRaut04 committed Nov 15, 2024
1 parent c43128a commit 674fdd0
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,9 @@ int main(void) {
const double x1[] = { 1.0, 0.45, -0.89, 0.0 / 0.0, -0.78, -0.22, 0.66, 0.11, -0.55, 0.0 };
const double x2[] = { -0.22, 0.66, 0.0, -0.55, 0.33, 1.0, 0.0 / 0.0, 0.11, 0.45, -0.78 };

double* v;
int i;
for ( i = 0; i < 10; i++ ) {
v = stdlib_base_minmax( x1[ i ], x2[ i ] );
const double* v = stdlib_base_minmax( x1[ i ], x2[ i ] );
printf( "x1[ %d ]: %lf, x2[ %d ]: %lf, minmax( x1[ %d ], x2[ %d ] ): ( %lf, %lf )\n", i, x1[ i ], i, x2[ i ], i, i, v[0], v[1] );
}
}
Expand Down

0 comments on commit 674fdd0

Please sign in to comment.