[General]: FP87::Round drops the explicit integer bit on significand carry
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 78/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Área
- documentation
Línea de trabajo
Comienza con la definición FP87::Round enlazada en el issue y revisa su carry branch publicado, usando como contexto el commit fijado de definitions.xml.gz. Reproduce el caso Binary80 proporcionado con el exponente 0x3fff, una mantisa con todos sus bits a uno, R=1 y S=1; se considera terminado cuando el resultado es 0x4000:8000000000000000 y se conserva la indicación carry/rounded-up.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Problem
When rounding increments an all-ones significand, Round increments the exponent and writes a zero significand. Binary80 stores its integer bit explicitly, so this creates an unsupported unnormal encoding instead of the next normal number.
Concrete case
Call Round on a positive normal F80 value with exponent 0x3fff and mantissa 0xffffffffffffffff, using round-to-nearest and round/sticky inputs R=1, S=1. The rounding decision is upward. Expected result: exponent 0x4000, mantissa 0x8000000000000000 (2). The source returns exponent 0x4000, mantissa zero.
Expected behavior and references
References use Intel SDM 325462-093, checked on 2026-10-01. PDF page numbers below refer to the combined manual.
- Vol. 1 Table 4-3, double-extended encodings; combined PDF page 96
- Vol. 1 §8.2.2, unsupported unnormal encodings; combined PDF page 222
Source
Source checked at Intel SDM repository commit b5218b0f1cf512304d4b3cb364433a08fcee47cb.
The helper links are the readable current pages. Their reviewed definitions are in the compressed definition database at the pinned commit.
Suggested correction
Set the explicit integer bit when a significand carry increments the exponent. Preserve the carry/rounded-up indication.
Evidence
Direct calculation from the published carry branch with the input above produces exponent 0x4000 and significand zero. In the binary80 encoding table, a nonzero finite exponent with a clear explicit integer bit is unsupported. Setting that bit produces 0x4000:8000000000000000, the normal encoding of the required result 2.
AI disclosure
Assisted by Codex
- Lenguaje dominante
- HTML
- Estrellas
- 57
- Forks
- 4
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de intel/SDM
-
SDM PDF issue
Dificultad 1/5 1-3 horas Aptitud para principiantes 72/100
-
SDM PDF issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
-
SDM PDF issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
-
SDM PDF issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
-
[Bug]: SDM 092 CPUID typoAbiertoSDM PDF issue SDM Volume 1
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Issues similares
-
README.zh-CN/ja/es still hard-code 501 test counts after README.md went count-freePosiblemente ocupada @Aaqibhafeezkhan la tomó hoy. Abiertobeginner documentation good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
BistaDinesh03/critique#164 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Lychee link check failedAbierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100
-
bug priority: P3 ready-for-agent
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
shep-pm/shep-kelpie#1332 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
-
Link Checker ReportAbiertoautomated issue report
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día