layout.c
changeset 932 df47d77ec9a6
parent 931 8ff0f913999e
child 933 f7619f63380a
equal deleted inserted replaced
931:8ff0f913999e 932:df47d77ec9a6
    10 
    10 
    11 static double ratio = RATIO;
    11 static double ratio = RATIO;
    12 static unsigned int nlayouts = 0;
    12 static unsigned int nlayouts = 0;
    13 static unsigned int nmaster = NMASTER;
    13 static unsigned int nmaster = NMASTER;
    14 
    14 
    15 static double // simple pow()
    15 static double /* simple pow() */
    16 spow(double x, double y)
    16 spow(double x, double y)
    17 {
    17 {
    18 	if(y == 0)
    18 	if(y == 0)
    19 		return 1;
    19 		return 1;
    20 	while(--y)
    20 	while(--y)