integer-division

Tag

Cards List
#integer-division

Moving integer division to floating-point is trivial

Lobsters Hottest · 11h ago Cached

A technical blog post explains how to perform integer division and remainder using floating-point division and fused multiply-add, with constraints on operand bit widths, and discusses practical considerations for SIMD and rounding modes.

0 favorites 0 likes
#integer-division

When float division beats integer division

Lobsters Hottest · 2026-06-16 Cached

A blog post explaining a counterintuitive optimization where using float division (DIVSD) instead of integer division (IDIVQ) yields faster performance on modern CPUs, with benchmarks and assembly analysis.

0 favorites 0 likes
← Back to home

Submit Feedback