the reason I thought this way, was because I translated the Nim code in my head 
to C, to something like that: 
    
    
    void flt2arr(double x, uint8_t[] result) {
      for(int i = 0; i < 8; i++)
        result[i] = (uint8_t*)&x + i;
    }
    
    
    Run

But as @araq said, this is not what the output of the Nim compiler is

Reply via email to