📅  最后修改于: 2022-03-11 14:44:52.162000             🧑  作者: Mango
#include
int a = std::numeric_limits::infinity();
float a = std::numeric_limits::infinity();
double a = std::numeric_limits::infinity();
...