ISO 18037 describes various fixed point divifx functions which divide an integer by a fixed point type and returns an integer rather than a fixed point type.
貢獻者指南
研究方向
審查 llvm libc 中現有的定點數實作(例如 libc/src/ support/fixed point/),以了解其 API 模式和測試方法。然後按照 ISO 18037 規範實作 divifx 函數,確保正確的捨入和溢位行為。查看 issue 評論以獲取維護者提供的任何額外說明或要求。