modexp: use intx::shl() and intx::shr()
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 56/100
Línea de trabajo
Start in modexp.cpp at the word-span shr() around line 120 and inspect how it moves words and shifts bits. Check the intx word-span shl() and shr() APIs and their shift limits, then review rem() alongside the division kernels after the specified intx update. Done means the redundant bit-shift loops and normalization shifts are removed while modexp behavior remains correct.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
modexp.cpp has its own shr() for word spans (line 120): it moves the words and then shifts the bits with its own loop. intx has public intx::shl() and intx::shr() for word spans (shifts below 64 bits), which can do the bit part. On the next intx update rem() also has to follow the division kernels, which normalize the words themselves since chfast/intx#412, #413 and #420, so the normalization shifts there go away.
- Lenguaje dominante
- C++
- Estrellas
- 979
- Forks
- 340
- Merge medio
- 12 h 16 min
- PR fusionados (30 d)
- 25
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Sin 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 ipsilon/evmone
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
Dificultad 3/5 1-2 días Aptitud para principiantes 57/100
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 12/100
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 52/100
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
Los mantenedores suelen responder en 1 día
Todos los issues de ipsilon/evmone
Issues similares
-
Reference check: findingsAbiertoaudit-reference-check
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
schrodinger/pymol-open-source#532 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
xlnt-community/xlnt#174 ·
-
documentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 73/100
sleepyviper1213/redis#30 ·