@lisyarus@mastodon.gamedev.place
Post #2797285
2026-04-16 07:40 UTC
@amonakov@mastodon.gamedev.place I was writing more with the idea that the code stays relevant regardless of the specific FP format. Of course, doubles will solve this specific case! I have this old habit of avoiding doubles, but afaik for most arithmetic ops they're as fast on modern CPUs.
Replies (1)
-
@amonakov@mastodon.gamedev.place 2026-04-16 07:48
@lisyarus@mastodon.gamedev.place yeah, mixing floats/doubles becomes quite inconvenient in SIMD context, but scalar code in math library functions really benefits from higher intermediate precision/range