home *** CD-ROM | disk | FTP | other *** search
- /* General form test program for scientific functions */
-
- /* Routine Tested: STEXPD */
-
- main()
-
- {
- float a,x,df,cf;
- int *fp;
-
- *fp=fopen("PRN:","w"); /* open the printer */
- fprintf(*fp,"Test Results from STEXPD\n\n");
- printf("Test Results from STEXPD\n\n");
-
- a = 5.;
- x = 0.;
-
- stexpd(a,x,&df,&cf);
-
- fprintf(*fp,"DF, CF = %15.7f %15.7f\n",df,cf);
- printf("DF, CF = %15.7f %15.7f\n",df,cf);
-
- }