How do I get DOUBLE_MAX?

前端 未结 6 2209
我在风中等你
我在风中等你 2020-12-14 05:24

AFAIK, C supports just a few data types:

int, float, double, char, void enum.

I need to store a number that could reach into the high 10 di

6条回答
  •  心在旅途
    2020-12-14 05:57

    DBL_MAX is defined in . Its availability in on unix is what is marked as "(LEGACY)".

    (linking to the unix standard even though you have no unix tag since that's probably where you found the "LEGACY" notation, but much of what is shown there for float.h is also in the C standard back to C89)

提交回复
热议问题