DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download

⟦404f09f36⟧ TextFile

    Length: 248 (0xf8)
    Types: TextFile
    Names: »idist.c«

Derivation

└─⟦b20c6495f⟧ Bits:30007238 EUUGD18: Wien-båndet, efterår 1987
    └─⟦this⟧ »EUUGD18/General/Empire.V/V1.1/EMPSUBS/idist.c« 

TextFile

idist(x, y)
int x, y;
{
        register int i;
        double dx, dy, sqrt();

        dx = x;
        dy = y;
        i = sqrt(((dx * dx) + (dy * dy))) + 0.5;
        return (i);
}

idsq(x, y)
int x, y;
{

        return (((x * x) + (y * y)));
}