brooksdavis wrote: I'll leave a better fix to the flang developers. It appears that HUGE is de facto part of the math.h interface and POSIX should just define it if the definitions are reasonably well aligned. https://github.com/llvm/llvm-project/pull/86204