From: router Date: Sun, 21 Jan 2024 22:33:06 +0000 (+0300) Subject: Change Tmax for fixed floating point epsilon limit (#24370) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=4bb670a59c56774b5e723617185ca2147ec888f0;p=space-station-14.git Change Tmax for fixed floating point epsilon limit (#24370) This is the largest number that an epsilon of 1/64 = 0.015625K supports --- diff --git a/Content.Shared/Atmos/Atmospherics.cs b/Content.Shared/Atmos/Atmospherics.cs index 0f330d9dcf..7460e08e46 100644 --- a/Content.Shared/Atmos/Atmospherics.cs +++ b/Content.Shared/Atmos/Atmospherics.cs @@ -52,7 +52,7 @@ namespace Content.Shared.Atmos /// calculations and so cap it here. The physical interpretation is that at this temperature, any /// gas that you would have transforms into plasma. /// - public const float Tmax = 200e3f; + public const float Tmax = 262144; // 1/64 of max safe integer, any values above will result in a ~0.03K epsilon /// /// Liters in a cell.