const union bytesequence4_or_float rb_nan = {{0x7f, 0xc0, 0x00, 0x00}}; #endif #ifndef HAVE_ROUND double round(double x) { double f; if (x > 0.0) { f = floor(x); x = f + (x - f >= 0.5); } else if (x < 0.0) { f = ceil(x); x = f - (f - x >= 0.5...
thedaysInJanuaryis of typeUInt8. In the last line, we then create a new constant (totalDays) by combining the values held in the two previous constants. To do this though, the values that we are combining have to be of the same time so we first have to convert ...
AFAICT we've been careful to ensure those bits are always zero, so that this will work without creating any pg_upgrade problems. This is just WIP, partly because I haven't touched the SGML docs yet, but also because there are some loose ends to be resolved: * I believe I made all t...