Re: [Libguestfs] [PATCH nbdkit v2 1/6] Add new public nbdkit_parse_probability function

2023-05-18 Thread Laszlo Ersek
On 5/17/23 23:05, Eric Blake wrote: > [Side note: if you really want a trip, read the 2023 SIGBOVIK article > on "GradIEEEnt half decent" about 16-bit floating point values being > exploited for their non-linear rounding properties as a way to create > non-monotonic functions that can in turn form

Re: [Libguestfs] [PATCH nbdkit v2 1/6] Add new public nbdkit_parse_probability function

2023-05-18 Thread Richard W.M. Jones
On Wed, May 17, 2023 at 04:05:23PM -0500, Eric Blake wrote: > On Wed, May 17, 2023 at 11:06:54AM +0100, Richard W.M. Jones wrote: > > In nbdkit-error-filter we need to parse parameters as probabilities. > > This is useful enough to add to nbdkit, since we will use it in > > another filter in future

Re: [Libguestfs] [PATCH nbdkit v2 1/6] Add new public nbdkit_parse_probability function

2023-05-17 Thread Eric Blake
On Wed, May 17, 2023 at 11:06:54AM +0100, Richard W.M. Jones wrote: > In nbdkit-error-filter we need to parse parameters as probabilities. > This is useful enough to add to nbdkit, since we will use it in > another filter in future. > --- > docs/nbdkit-plugin.pod | 19 +++ > p

[Libguestfs] [PATCH nbdkit v2 1/6] Add new public nbdkit_parse_probability function

2023-05-17 Thread Richard W.M. Jones
In nbdkit-error-filter we need to parse parameters as probabilities. This is useful enough to add to nbdkit, since we will use it in another filter in future. --- docs/nbdkit-plugin.pod | 19 +++ plugins/python/nbdkit-python-plugin.pod | 6 ++ include/nbdkit-common.h