CH is correct- trunc is available in C99 standard:I don't think so, but I haven't taken to 30+ minutes of booting windows to check. The man page seems to indicate that it should be available in windows:
trunc- Truncate to nearest integral value:
double trunc(double x);
returns x rounded to the integer nearest to it but no larger in magnitude