| От | Alexander Lakhin |
|---|---|
| Тема | Re: BUG #18248: Expression is always zero |
| Дата | |
| Msg-id | 3ba9dde0-ed11-2b58-5ede-b95d00e64228@gmail.com обсуждение |
| Ответ на | BUG #18248: Expression is always zero (PG Bug reporting form <noreply@postgresql.org>) |
| Список | pgsql-bugs |
Hello Georgy, 14.12.2023 08:32, PG Bug reporting form wrote: > The following bug has been logged on the website: > > Bug reference: 18248 > Logged by: RekGRpth > Email address: rekgrpth@gmail.com > > The value of expression 'thistimecnt >> 31 >> 31 >> 2' (in > src/timezone/zic.c) is zero regardless of the value of the left operand > 'thistimecnt', because it is shifted by 64 (in total) bits, which is greater > or equal to its size of 64 bits. > > Maybe this was what was meant? > thistimecnt >> 31 >> 2 I see the same in https://github.com/eggert/tz/blob/main/zic.c So maybe you would like to report that to the tz mailing list?: https://www.iana.org/time-zones Best regards, Alexander
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера