diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2020-12-14 15:58:49 +0100 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2021-04-29 04:00:44 -0400 |
commit | a5f38dd83e88a6f2325798cd46a1b5ed5107e2ce (patch) | |
tree | 509101f8a922aaa9e91060cd7d3def81cc26e9c8 /gcc/expr.c | |
parent | 4345c9e79ec17c066b4d2d46dd547adbe8fa5e1d (diff) | |
download | gcc-a5f38dd83e88a6f2325798cd46a1b5ed5107e2ce.zip gcc-a5f38dd83e88a6f2325798cd46a1b5ed5107e2ce.tar.gz gcc-a5f38dd83e88a6f2325798cd46a1b5ed5107e2ce.tar.bz2 |
[Ada] Fix static computation of 'Succ for floating point without denormals
gcc/ada/
* eval_fat.adb (Succ): Add a special case for zero if the type does
not support denormalized numbers. Always use the canonical formula
in other cases and add commentary throughout the function.
Diffstat (limited to 'gcc/expr.c')
0 files changed, 0 insertions, 0 deletions