Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[RFC] Reserving aliases for unsigned `Fixed` and signed `Normed`

Aperta
#228 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
julia
Ambito
data

Direzione di ricerca

Inizia leggendo la discussione precedente in #199 e la issue correlata sul naming #51, quindi confronta gli alias proposti per unsigned Fixed e signed Normed con le convenzioni esistenti per gli alias. L’attività è completata quando la scelta dei nomi e la direzione della migrazione sono risolte; questa issue non identifica file di implementazione o test.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

doc

As noted in #199, unsigned Fixed and signed Normed are mathematically definable, but we still have some preparations to implement them.

Although those types are certainly not used often, but in fact, I occasionally use unsigned Fixed in private projects. In that case, I give those types redundant names.

However, when we handle concrete Fixed/Normed numbers, we often use the aliases (e.g., Q0f7, N0f8). If we have the predetermined aliases for unsigned Fixed and signed Normed, they can be used to make the future migration easier.

See also #51

Candidates

unsigned Fixed
  • UQxfy (Unsigned Q)
  • Qxfy (x+y == 8sizeof(T))
  • Uxfy (Unsigned)
  • Rxfy (following Q)
  • Fxfy (Fixed)
  • Xxfy (fiXed)
signed Normed
  • SNxfy (Signed N)
  • Nxfy (1+x+y == 8sizeof(T))
  • Sxfy (Signed. cf. #143)
  • Mxfy (norMed. followed by N)

Renaming Nxfy to UNxfy is a consistent practice, but it defeats the purpose of making the migration easier.

Lingua principale
Julia
Stelle
95
Fork
38
Merge medio
16h 31m
PR unite (30g)
9

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di JuliaMath/FixedPointNumbers.jl

Tutte le issue di JuliaMath/FixedPointNumbers.jl

Issue simili

Altre issue su Julia

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.