Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
bit shift and mask
//gcc 7.4.0 #include <stdlib.h> #include <stdarg.h> #include <stdio.h> #include <float.h> int main(void) { float vout = 0; unsigned int v = 0; unsigned int data = 0; float dummy = 0; vout = 20.47; v = (vout / 100.0); data = v; dummy = vout / 100.0; printf("Vout = %2.2f v = %u data = [0x%4X] \r\n", vout, v, data); printf("dummy = %2.2f \r\n", dummy); return 0; }
run
|
edit
|
history
|
help
0
Leap year check
test
blue point
B_141205_funciones
QuickSort
Sum Two Numbers
piesa perdida
C_141210_Tartaglia
bitmask
Partition