Calculate Min/Max STL Deviation

Does anyone know how SW calculates the Max/Min deviationvalues in STL Export Options? They appear to be dependant on modelsize but I'm not sure.

Thanks!

t.SolidworksApi macros