ARM VERSION 1.2 Fiche technique Page 204

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 276
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 203
Floating-point Support
5-6 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D
5.2.3 Conversions between long longs and other number formats
The routines in Table 5-3 perform conversions between
long long
s and other number
formats.
Table 5-3 Conversion routines involving long long format
Function Argument type Result type
_ll_sto_f long long float
_ll_uto_f unsigned long long float
_ll_sto_d long long double
_ll_uto_d unsigned long long double
_ll_sfrom_f float
long long
a
a. Rounded toward zero, independently of the current rounding mode. This is because the C
standard requires implicit conversions to integers to round this way, so it is convenient not to
have to change the rounding mode to do so. Each function has a corresponding function with
_r
on the end of its name, that performs the same operation but rounds according to the current
mode.
_ll_sfrom_f_r float long long
_ll_ufrom_f float
unsigned long long
a
_ll_ufrom_f_r float unsigned long long
_ll_sfrom_d double
long long
a
_ll_sfrom_d_r double long long
_ll_ufrom_d double
unsigned long long
a
_ll_ufrom_d_r double unsigned long long
Vue de la page 203
1 2 ... 199 200 201 202 203 204 205 206 207 208 209 ... 275 276

Commentaires sur ces manuels

Pas de commentaire