To gain a better understanding this are the hole transformations (sRGB->linearize sRGB, linearize sRGB->CIEXYZ). 
For a better performance  "*= 100.0" is postponed (e.g.Y /= 100. -> Y /= 1. -> // )