Galactic Bloodshed
Functions
misc.h File Reference
#include <cmath>
Include dependency graph for misc.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

double logscale (const int x)
 Scales used in production efficiency etc. More...
 

Function Documentation

◆ logscale()

double logscale ( const int  x)
inline

Scales used in production efficiency etc.

Parameters
xInteger from 0-100
Returns
Float 0.0 - 1.0 (logscaleOB 0.5 - .95)

Definition at line 15 of file misc.h.