Xv6 with picoc & Linkage editor
v1.0
The project delineate mutual cohesion between c library, linkage editor ( linker), interpreter and operating system by porting the same on xv6 kernel
|
00001 #include <stdio.h> 00002 #include <math.h> 00003 00004 printf("%f\n", sin(0.12)); 00005 printf("%f\n", cos(0.12)); 00006 printf("%f\n", tan(0.12)); 00007 printf("%f\n", asin(0.12)); 00008 printf("%f\n", acos(0.12)); 00009 printf("%f\n", atan(0.12)); 00010 printf("%f\n", sinh(0.12)); 00011 printf("%f\n", cosh(0.12)); 00012 printf("%f\n", tanh(0.12)); 00013 printf("%f\n", exp(0.12)); 00014 printf("%f\n", fabs(-0.12)); 00015 printf("%f\n", log(0.12)); 00016 printf("%f\n", log10(0.12)); 00017 printf("%f\n", pow(0.12, 0.12)); 00018 printf("%f\n", sqrt(0.12)); 00019 printf("%f\n", round(12.34)); 00020 printf("%f\n", ceil(12.34)); 00021 printf("%f\n", floor(12.34)); 00022 00023 void main() {}