Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
GCC supports 128-bit integer arithmetic
#include <stdio.h> int main(void) { const __int128 m = 3329589384618324948; __int128 n = m * m; enum { base = 10, max_width = 39 }; char a[max_width + 1] = { '\0' }; char *p = a + max_width; for (; n != 0; n /= base) *--p = (char)('0' + n % base); printf("%s\n", p); }
run
|
edit
|
history
|
help
1
150112_FuncionesOrdenArray
Finding power using recursion
Project 3 Part 1 v2
C_141113_dividirRestasSucesivas
good Job
llist.h
RSA Algo
DISEÑO DE TECLADO
sphere
1.7 Test parallel function