void _main(){{errno_t err_code=-1;double d=(double)sqrt((double)-1);if (_get_errno(&err_code)){printLine("_get_errno failed");exit(1);}if (err_code==EDOM){}printDoubleLine(d);}}
static void main(){{errno_t err_code=-1;double d=(double)sqrt((double)-1);if (_get_errno(&err_code)){printLine("_get_errno failed");exit(1);}if (err_code==EDOM){printLine("sqrt() failed");exit(1);}printDoubleLine(d);}}