Avi Kivity
5663218fac
Merge "types: Fix decimal to integer and varint to integer conversion" from Rafael
...
"
The release notes for boost 1.67.0 includes:
Breaking Change: When converting a multiprecision integer to a narrower type, if the value is too large (or negative) to fit in the smaller type, then the result is either the maximum (or minimum) value of the target
Since we just moved out of boost 1.66, we have to update our code.
This fixes issue #4960
"
* 'espindola/fix-4960' of https://github.com/espindola/scylla :
types: fix varint to integer conversion
types: extract a from_varint_to_integer from make_castas_fctn_from_decimal_to_integer
types: fix decimal to integer conversion
types: extract helper for converting a decimal to a cppint
types: rename and detemplate make_castas_fctn_from_decimal_to_integer
2019-09-08 10:45:42 +03:00
..
2019-08-26 18:54:44 +03:00
2019-08-06 15:11:19 +03:00
2019-09-07 10:07:33 -07:00
2018-11-01 13:16:17 +00:00
2019-06-28 16:43:25 +03:00
2019-01-30 11:17:38 +02:00
2019-07-04 11:32:57 +02:00
2019-05-07 07:11:07 +03:00
2019-01-30 15:24:31 +00:00
2019-01-30 11:17:38 +02:00
2019-09-04 15:08:14 -07:00
2019-01-30 11:17:38 +02:00
2018-12-03 14:40:35 +01:00
2019-01-30 11:17:38 +02:00
2019-02-07 20:18:14 +02:00
2019-06-28 16:43:25 +03:00
2019-01-30 11:17:38 +02:00
2019-01-30 11:17:38 +02:00
2019-06-24 14:06:41 +02:00
2019-06-24 14:06:41 +02:00
2019-06-28 16:43:25 +03:00
2019-05-07 09:58:21 +03:00
2019-09-07 10:07:33 -07:00
2019-09-07 18:17:53 +03:00
2019-06-28 16:43:25 +03:00
2018-11-01 10:19:32 +02:00
2019-05-07 10:00:58 +03:00
2019-07-15 17:38:00 +03:00
2019-07-15 17:38:00 +03:00
2019-07-16 13:35:53 -04:00
2019-05-07 07:11:07 +03:00
2019-03-28 14:21:10 +02:00
2019-07-29 17:15:51 +02:00
2019-01-20 15:55:20 +02:00
2019-05-07 07:11:07 +03:00
2019-05-07 07:11:07 +03:00
2019-06-28 16:43:25 +03:00
2019-06-13 10:38:56 +03:00
2019-08-13 10:16:02 +03:00
2019-04-29 10:24:14 +03:00
2019-08-26 18:54:44 +03:00
2019-03-04 10:23:45 +00:00
2019-06-17 15:23:24 +03:00
2019-03-28 14:21:10 +02:00
2019-08-28 09:46:17 +03:00
2019-08-21 19:35:59 +02:00
2019-03-28 14:21:10 +02:00
2019-01-30 11:17:38 +02:00
2019-02-07 20:18:14 +02:00
2019-01-30 11:17:38 +02:00
2019-06-13 14:45:48 +03:00
2018-11-01 13:16:17 +00:00
2019-09-07 10:07:33 -07:00
2019-01-30 11:17:38 +02:00
2019-08-12 19:48:31 +03:00
2019-05-07 10:00:58 +03:00
2019-02-07 20:18:14 +02:00
2019-08-26 18:54:44 +03:00
2018-11-21 00:01:44 +02:00
2018-11-21 00:01:44 +02:00
2019-02-14 22:37:41 +02:00
2019-07-15 17:38:00 +03:00
2019-08-26 18:54:44 +03:00
2019-08-26 18:54:44 +03:00
2019-07-21 16:42:54 +03:00
2019-01-08 13:16:36 +02:00
2019-04-10 18:05:36 +02:00
2019-01-30 11:17:38 +02:00
2019-01-30 11:17:38 +02:00
2019-08-26 18:54:44 +03:00
2019-08-13 09:47:55 +03:00
2019-08-01 13:03:03 +03:00
2019-08-26 18:54:44 +03:00
2019-07-15 17:38:00 +03:00
2019-01-30 11:17:38 +02:00
2019-08-26 18:54:44 +03:00
2018-11-21 00:01:44 +02:00
2018-11-21 00:01:44 +02:00
2019-06-28 16:43:25 +03:00
2019-05-13 19:30:50 +02:00
2019-05-13 19:18:20 +02:00
2019-06-28 16:43:25 +03:00
2019-09-07 18:07:01 +03:00
2019-09-07 10:07:33 -07:00
2019-07-15 17:38:00 +03:00
2019-07-15 17:38:00 +03:00
2019-01-08 13:16:36 +02:00
2018-11-01 13:16:17 +00:00
2019-01-22 18:24:52 -05:00
2019-04-29 19:56:20 -07:00
2019-01-30 11:17:38 +02:00
2018-11-21 00:01:44 +02:00
2019-01-08 13:16:36 +02:00
2019-08-26 18:54:44 +03:00
2019-01-30 11:17:38 +02:00
2019-08-21 19:13:59 +03:00
2019-01-30 11:17:38 +02:00
2019-07-19 11:58:42 +02:00
2019-01-30 11:17:38 +02:00
2019-07-15 23:24:16 +02:00
2019-01-18 17:49:46 +02:00
2019-03-28 14:21:10 +02:00
2019-08-05 14:55:56 +02:00
2019-08-26 18:54:44 +03:00
2019-08-06 15:11:19 +03:00
2019-03-26 16:05:08 +02:00
2018-11-24 20:16:54 -02:00
2019-04-11 18:50:42 +03:00
2019-03-26 16:05:08 +02:00
2019-08-26 18:54:44 +03:00
2019-01-22 18:25:01 -05:00
2019-03-26 16:24:19 +02:00
2019-02-11 14:45:43 +02:00
2019-08-21 19:35:59 +02:00
2019-03-26 16:05:08 +02:00
2019-02-11 17:14:47 +02:00
2019-02-11 17:14:47 +02:00
2019-07-08 15:28:21 +00:00
2019-03-28 14:21:10 +02:00
2019-05-07 10:00:58 +03:00
2019-01-08 13:16:36 +02:00
2019-01-30 11:17:38 +02:00
2019-02-13 09:08:12 +00:00
2019-09-07 10:07:33 -07:00
2018-12-05 21:51:01 +02:00
2019-03-26 16:24:19 +02:00
2019-06-28 16:43:25 +03:00
2019-08-26 18:54:44 +03:00
2019-03-14 13:37:06 +00:00
2019-07-12 18:09:15 +02:00