Berthold Stoeger 2a966ac2a9 Cleanup: replace macro by inline function in gas-model.c
Replace a macro calculating a degree-three polynomial by an
inline function.

Moreover, calculate the powers 1, 2 and 3 of the pressure inside
the function. The compiler will be smart enough to optimize this
to the same code. The only important thing is to write "x*x*x*coeff"
instead of "coeff*x*x*x". The compiler can't optimize the latter
because ... wonderful floating point semantics.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2019-08-08 15:22:09 -07:00
..
2019-08-08 08:56:44 -07:00
2019-07-18 06:01:07 -07:00
2017-04-29 13:32:55 -07:00
2018-10-21 19:55:09 +03:00
2018-10-21 19:55:09 +03:00
2018-10-21 19:55:09 +03:00
2019-07-18 06:01:07 -07:00
2019-07-18 06:01:07 -07:00
2019-05-29 15:04:33 +03:00
2018-05-30 21:47:07 -07:00
2017-04-29 13:32:55 -07:00
2019-07-18 06:01:07 -07:00
2017-04-29 13:32:55 -07:00
2019-01-16 02:38:30 +01:00