Procédure de conversion
I-n
Il reste le facteur 2. On l'obtient par un décalage arithmétique à gauche de (I-n) ou un décalage arithmétique à droite de (n-I), selon le cas. Le terme de décalage S peut ensuite être ajouté par une addition entière.
La procédure de conversion des coordonnées NGP en coordonnées entières du périphérique est alors :
1. move coordinate to a register and extend sign
2. integer multiply by Q (if necessary)
3. arithmetic shift left by (I-n)
4. integer add S
Cette procédure serait en général beaucoup plus rapide que :
1. move coordinate to register and extend sign
2. float fractional coordinate
3. floating point multiply
4. floating point add
5. conversion to fixed point
[ This RFC was put into machine readable form for entry ]
[ into the online RFC archives by BBN Corp. under the ]
[ direction of Alex McKenzie. 1/97 ]