Test char to int conversion.
Tous les contrôles ont réussi
The build was successful.

Cette révision appartient à :
2019-04-08 10:32:31 +02:00
Parent c2b3cc1a2f
révision b320d35cf7
2 fichiers modifiés avec 2 ajouts et 0 suppressions

Voir le fichier

@@ -22,6 +22,7 @@ class Program {
private void testNumbers() { private void testNumbers() {
printf("%%b = '%b'\n", $this->n); printf("%%b = '%b'\n", $this->n);
printf("%%c = '%c'\n", $this->c); printf("%%c = '%c'\n", $this->c);
printf("%%d = '%d'\n", $this->c);
printf("%%d = '%d'\n", $this->n); printf("%%d = '%d'\n", $this->n);
printf("%%e = '%e'\n", $this->n); printf("%%e = '%e'\n", $this->n);
printf("%%u = '%u'\n", $this->n); printf("%%u = '%u'\n", $this->n);

Voir le fichier

@@ -6,6 +6,7 @@
[many monke] [many monke]
%b = '10100111101010011010101101' %b = '10100111101010011010101101'
%c = 'A' %c = 'A'
%d = '65'
%d = '43951789' %d = '43951789'
%e = '4.395179e+07' %e = '4.395179e+07'
%u = '43951789' %u = '43951789'