Annotation of coherent/b/lib/libm/floor.c, revision 1.1.1.1

1.1       root        1: /*
                      2:  * libm/floor.c
                      3:  * Floor.
                      4:  */
                      5: 
                      6: #include <math.h>
                      7: 
                      8: #if    EMU87
                      9: #include "emumath.h"
                     10: #endif
                     11: 
                     12: double
                     13: floor(x) double x;
                     14: {
                     15:        double r;
                     16: 
                     17:        return (modf(x, &r) < 0.0) ? r - 1.0 : r;
                     18: }
                     19: 
                     20: /* end of libm/floor.c */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.