Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (14 sloc) 282 Bytes
#define _GNU_SOURCE
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
int main ( int argc , char * argv[] )
{
double a ;
double b ;
double c ;
a = atof( argv[1] ) ;
sincos( a , &b , &c ) ;
printf( "%f %f\n" , b , c ) ;
return 0 ;
}