minor, implement scalbnd32() (bid32 only)

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
chore, check for scalbnd32() during configure

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, provide --precision|-p to have control over ...

the precision (number of fractional digits) in the output.

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, constify args passed to a coru

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, use NAN to indicate last price hasn't been set

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, use a coroutine to determine last price and scaling value

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, use a coroutine to determine last price and scaling value for total payouts too

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
hygiene, kick unused strtokd32()

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
cosmetics, kick wrong comments

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
test, provide segression  tests for --precision|-p

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, also scale total payout values to precision

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, always use our own quantized32(), ...

this is necessary because the real quantized32() will produce NANs if
the significand's range is exceeded.

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, provide isnand32() as inline

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, check significand before exceeding range

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
fix, PEBKAC, actually set a scaling value in last_scal coru

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, treat precision scaling in total payout mode differently

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
Merge branch 'feat/prec'

* feat/prec:
  minor, treat precision scaling in total payout mode differently
  fix, PEBKAC, actually set a scaling value in last_scal coru
  minor, check significand before exceeding range
  minor, provide isnand32() as inline
  minor, always use our own quantized32(), ...
  minor, also scale total payout values to precision
  test, provide segression  tests for --precision|-p
  cosmetics, kick wrong comments
  hygiene, kick unused strtokd32()
  minor, use a coroutine to determine last price and scaling value for total payouts too
  minor, use a coroutine to determine last price and scaling value
  minor, use NAN to indicate last price hasn't been set
  minor, constify args passed to a coru
  minor, provide --precision|-p to have control over ...
  chore, check for scalbnd32() during configure
  minor, implement scalbnd32() (bid32 only)