Large negative pressures

Thiago Macieira thiago at macieira.org
Fri Aug 9 17:20:45 PDT 2019


On Wednesday, 7 August 2019 09:31:35 PDT Linus Torvalds wrote:
> > 2) Make pressure_t (and related variable) int64_t,
> 
> Absolutely not. See above. That would be entirely crazy.

Unless you want to use Subsurface to calculate a dive into the core of the Sun 
(pressure there is estimated at around 250 gigabars). That would overflow the 
puny int32_t.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel System Software Products





More information about the subsurface mailing list