Post Created date
characters and huffman
How does your encoder tell you how big the compressed output is, and how do you tell the decoder how big the compressed input is?  
Tuesday, 7 January 2020 - 19:01
split uint16_t into two uint8_t
barnacle wrote: The point about undefined behaviour is this: even if it's defined somewhere - and it must be, for the compiler to work - it is by no means guaranteed to work the...
Tuesday, 31 December 2019 - 16:47
Avr Multitasking problems??
Anshumaan wrote: Can someone please see that why my reassignment doesn't work it always skips the zero and then either starts the counting to -1, -2 and soo on or stuck at 25...
Wednesday, 18 December 2019 - 21:28
Problem with fdev_open and certain printf formats
I came across this same problem when I was hooking up my little UART library to avr-libc's stdio. I wrongly assumed that the "put" function had the same type of return value...
Friday, 4 October 2019 - 17:54
Once again: Waiting for unfinished jobs....
ron_sutherland wrote: The make system relies on file creation dates, so if your NAS has drifted to the wrong side of a happy offset, then it can stop working. Building on this...
Thursday, 26 September 2019 - 17:00
avr-gcc bug?
This does seem to be a linker bug when --relax is used. I was able to replicate it with avr-gcc 5.4.0. What version of avr-gcc does "AVR 8-bit Toolchain v3.62" use?  
Tuesday, 27 August 2019 - 23:24
SD Card fails to initialize
mikech wrote: Doing while ( sdsc_command ( APP_CMD, 0 ) && sdsc_command ( SD_SEND_OP_COND, 0x40000000 ) ); //v2 is not a good idea, because you cannot be certain which one...
Friday, 19 July 2019 - 16:40
help with Bubble Sort
Torby wrote: hint:   There's a quicksort function built into the libraries.   I'll second that. Use qsort with a custom comparator function.   Pedantic mode on:...
Tuesday, 16 July 2019 - 20:40
double/float questions
skeeve wrote: I think you need about 2 bits past the lsb of the operand with the larger absolute value. The second bit is the or of all the lower bits.   No, you do need 3...
Monday, 1 July 2019 - 17:53
double/float questions
kk6gm wrote: The point being that trying to calculate sin(__FLT_MAX__) is a fool's errand. It very well may be, but it can still be computed close to the exact value (Cliff's...
Friday, 28 June 2019 - 17:34
double/float questions
skeeve wrote: christop wrote:f3 is exactly 0. The value 1.0 is rounded to 0 when it's subtracted from a much larger value (__FLT_MAX__), so that f1 == f2.IEEE's implicit...
Friday, 28 June 2019 - 17:25
double/float questions
kk6gm wrote: So f1 == (f1 - 1.0).  I think that proves the point. Yes, for sufficiently large f1. I'm not sure what point you're trying to prove. It should be well-...
Friday, 28 June 2019 - 16:49