Annotation of researchv9/jerq/src/lib/C/arith.c, revision 1.1.1.1

1.1       root        1: #include <jerq.h>
                      2: 
                      3: Rectangle Rectangle.mbb(Point p)
                      4: {
                      5:        Rectangle r;
                      6:        r.o.x = min(o.x,p.x);
                      7:        r.o.y = min(o.y,p.y);
                      8:        r.c.x = max(c.x,p.x);
                      9:        r.c.y = max(c.y,p.y);
                     10:        return r;
                     11: }
                     12: 
                     13: Rectangle Rectangle.mbb(Rectangle r)
                     14: {
                     15:        r.o.x = min(o.x,r.o.x);
                     16:        r.o.y = min(o.y,r.o.y);
                     17:        r.c.x = max(c.x,r.c.x);
                     18:        r.c.y = max(c.y,r.c.y);
                     19:        return r;
                     20: }

unix.superglobalmegacorp.com

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