summaryrefslogtreecommitdiffstats
path: root/mpi
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2019-01-18 10:38:47 -0800
committerKaz Kylheku <kaz@kylheku.com>2019-01-18 10:38:47 -0800
commitfe4a764a7d40c79b25c5fe0278bded857864f416 (patch)
tree1ea5ebf58569ba3eb2f0e5e673758428420ab3e4 /mpi
parentd02b3c87d235beae67332e81d99e3069bc518e80 (diff)
downloadtxr-fe4a764a7d40c79b25c5fe0278bded857864f416.tar.gz
txr-fe4a764a7d40c79b25c5fe0278bded857864f416.tar.bz2
txr-fe4a764a7d40c79b25c5fe0278bded857864f416.zip
int-flo: take advantage of unsigned range.
* arith.c (int_flo): If the floating point value is in the ucnum range, we can convert to integer by way of that type; we gain a little bit of range. For instance on 32 bits, floating values in the range 2147483648.0 to 4294967295.0 can be converted via the fast path.
Diffstat (limited to 'mpi')
0 files changed, 0 insertions, 0 deletions