• Initialize long with floats binary representation
    Hello, how can I achieve long l = WHAT_EVER_MACRO (-12.5); main() { printf("%X",l); } resulting in output "0xC1480000" the binary representation of the float -12.5 . Without that MACRO...
  • Initialize long with floats binary representation
    Hello, how can I achieve long l = WHAT_EVER_MACRO (-12.5); main() { printf("%X",l); } resulting in output "0xC1480000" the binary representation of the float -12.5 . Without that MACRO...
  • initialize variable with binary value?
    hi all it may seem very easy but i can't initialize my code constants with binary value in c51 ver 3.20 franklin DOS version i want to: code char bin_code[3]={ 0b1100110011,0b1111110011,0b1100111011...
  • initialize variable with binary value?
    hi all it may seem very easy but i can't initialize my code constants with binary value in c51 ver 3.20 franklin DOS version i want to: code char bin_code[3]={ 0b1100110011,0b1111110011,0b1100111011...
  • Squaring floating point values
    Hello Everybody, Iam facing a strange problem with floats and their mathematical operations i recive a string of data through serial port( 20bytes i.e 5 float values) so to do mathematical operation...