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

⟦2e4337f96⟧ TextFile

    Length: 333 (0x14d)
    Types: TextFile
    Names: »misc.c«

Derivation

└─⟦b20c6495f⟧ Bits:30007238 EUUGD18: Wien-båndet, efterår 1987
    └─⟦this⟧ »EUUGD18/General/Gb/misc.c« 

TextFile

/* 
 * Galactic Bloodshed (Robert Chansky, smq@b)
 * scales used in production efficiency etc.
 * input both: int 0-100
 * output both: float 0.0 - 1.0 (logscale 0.5 - .95)
 */

float powscale(x)
register int x;
{
 register float f;
 return (f=(float)x/100.0)*f;
}

float logscale(x)
register int x;
{
 return (x+5.0) / (x+10.0);
}