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 评论以获取维护者提供的任何额外说明或要求。