Definition of `widemul` in the package
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 12/100
Línea de trabajo
The issue asks for a type-safe definition of the result type of widemul for fixed-point numbers, with integer bits i1 + i2 and fractional bits f1 + f2. Start by reading the two comments on the issue, since the design is still being discussed and no decision is recorded. Work here needs a maintainer decision on the definition before any code change, so it is not a good first contribution.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
This is how multiplication of fractional values works in binary numbers:
- multiplying two numbers with
i1andi2(possibly leading zeros, possibly sign-including) integer bits, the result will have at mosti1 + i2integer bits. - multiplying two numbers with
f1andf2(possibly trailing zeros) fractional digits, the result will have at mostf1 + f2fractional bits.
So the only general, type-safe definition (independent of the values) which is aligned to "doubling the number of bits from Base" is the definition of the result type to have i1 + i2 integer bits and f1 + f2 fractional bits.
- Lenguaje dominante
- Julia
- Estrellas
- 95
- Forks
- 38
- Merge medio
- 17 h 14 min
- PR fusionados (30 d)
- 11
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 JuliaMath/FixedPointNumbers.jl
-
bug
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
JuliaMath/FixedPointNumbers.jl#343 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 3/5 1-2 días Aptitud para principiantes 62/100
JuliaMath/FixedPointNumbers.jl#342 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
JuliaMath/FixedPointNumbers.jl#337 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 42/100
JuliaMath/FixedPointNumbers.jl#331 · 9 comentarios ·
Los mantenedores suelen responder en 1 día
-
add-on enhancement
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
JuliaMath/FixedPointNumbers.jl#311 · 4 comentarios ·
Los mantenedores suelen responder en 1 día
Todos los issues de JuliaMath/FixedPointNumbers.jl
Issues similares
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
SciML/PETScDiffEq.jl#196 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 1-3 horas Aptitud para principiantes 84/100
SciML/Catalyst.jl#1571 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
SciML/Optimization.jl#1414 ·
Los mantenedores suelen responder en 1 día