home *** CD-ROM | disk | FTP | other *** search
- /* General form test program for scientific functions */
-
- /* Routine Tested: PLYEVL */
-
- main()
-
- {
- int *fp,nd;
- static float a[10]={1.1,2.,0.,3.,0.,1.5,2.5,6.,-4.,1.1};
-
- float ans,x;
-
- nd = 9;
- x = 1.;
-
- plyevl(a,nd,x,&ans);
-
-
- *fp=fopen("PRN:","w"); /* open the printer */
-
- fprintf(*fp,"Test Results from PLYEVL\n\n");
- printf("Test Results from PLYEVL\n\n");
-
-
- fprintf(*fp,"%9.5f\n",ans);
- printf("%9.5f\n",ans);
- }