**diff options**

author | Szabolcs Nagy <nsz@port70.net> | 2013-08-15 15:13:24 +0000 |
---|---|---|

committer | Szabolcs Nagy <nsz@port70.net> | 2013-08-15 15:13:24 +0000 |

commit | c221af951693d526d3ae946f7e708af8e7a9bf85 (patch) | |

tree | 0d18e9fdd8cf637d98c9726ff5947d6d8b41f851 /crt | |

parent | 411efb3bc61298b81456d0fdab39518d983a9681 (diff) | |

download | musl-c221af951693d526d3ae946f7e708af8e7a9bf85.tar.gz |

math: fix pow(x,-1) to raise underflow properly

if FLT_EVAL_METHOD!=0 check if (double)(1/x) is subnormal and not a
power of 2 (if 1/x is power of 2 then either it is exact or the
long double to double rounding already raised inexact and underflow)

Diffstat (limited to 'crt')

0 files changed, 0 insertions, 0 deletions