Search:

Type: Posts; User: awsdert

Page 1 of 20 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    154
    Views
    3,754

    I FIXED IT!!! It always felt like I needed the...

    I FIXED IT!!!

    It always felt like I needed the original exponents somehow, now I have coded evidence:


    int_t alur__add(
    alu_t *alu
    , alur_t NUM
    , alur_t VAL
    , uint_t cpy
  2. Replies
    154
    Views
    3,754

    I've managed to greatly simplify the FPN addition...

    I've managed to greatly simplify the FPN addition code, still same bug but now the code is far easier to read, it seems adding that extra variable to the shift functions was the greatest mistake I've...
  3. Replies
    154
    Views
    3,754

    Because I initialise them before I use them, it...

    Because I initialise them before I use them, it only kicks up a fuss when there is no sign of it being initialised at all before the attempt to use the information it has

    Here's an example:

    ...
  4. Replies
    154
    Views
    3,754

    Fixed that segfault, turned I had poorly...

    Fixed that segfault, turned I had poorly initialised a few variables in the process of moving core code, anyways I got closer to the correct behavior of FPN, addition, turned out I had to check the...
  5. Replies
    154
    Views
    3,754

    Since I was drawing a blank on how to fix the...

    Since I was drawing a blank on how to fix the exponent I decided to move as much core code into ptr handling variants as possible, now I've a segfault and I'm drawing a blank on the how there also,...
  6. Replies
    154
    Views
    3,754

    In this case I need to first fully understand...

    In this case I need to first fully understand what needs to happen, I find that I tend to understand stuff like this better by actually going through the trial and error stuff, judging by the fact...
  7. Replies
    154
    Views
    3,754

    This is the closest I've gotten: make...

    This is the closest I've gotten:


    make check.run
    ...
    gdb -ex run ../bin/check_alu_d.AppImage
    GNU gdb (GDB) 9.2
    ...
    Reading symbols from ../bin/check_alu_d.AppImage...
    Starting program:...
  8. Replies
    154
    Views
    3,754

    Gotten a heck of a lot closer, realised I forgot...

    Gotten a heck of a lot closer, realised I forgot to take the position of the mantissa bits into account


    int_t alu_reg_addition(
    alu_t *alu
    , alu_reg_t NUM
    , alu_reg_t VAL
    , uint_t cpy...
  9. Replies
    154
    Views
    3,754

    Managed to fix the mantissa, now it just the...

    Managed to fix the mantissa, now it just the exponent that is the problem, I welcome any ideas there:


    int_t alu_reg_addition(
    alu_t *alu
    , alu_reg_t NUM
    , alu_reg_t VAL
    , uint_t cpy
    ,...
  10. Replies
    154
    Views
    3,754

    I finally spotted one of the reasons why my FPN...

    I finally spotted one of the reasons why my FPN math is failing, just can't spot the cause of that reason, basically the mantissa is not far enough to the right by the time the result is given, I've...
  11. Replies
    154
    Views
    3,754

    Thank you :) Wrong fix but helped me see what was...

    Thank you :) Wrong fix but helped me see what was wrong, instead of v being filled n got filled, n was supposed to only refer to either NUM or CPY (depends on where it is used), likewise v is only...
  12. Replies
    154
    Views
    3,754

    Still looking through your post but are you sure...

    Still looking through your post but are you sure you've got up to date files?
    When I look at that line with what I have uploaded all I see is this:

    }
  13. Replies
    154
    Views
    3,754

    You're building the wrong one for the bug I...

    You're building the wrong one for the bug I experienced, you have however reminded me that I need to go fix that file again after the minor API change, use "make check" or if you have gede installed...
  14. Replies
    154
    Views
    3,754

    I think I fixed it but hitting an unexpected...

    I think I fixed it but hitting an unexpected segfault before I can check, I can't even deduce where it might be coming from because it seems some local variables relied upon at the point of the...
  15. Replies
    154
    Views
    3,754

    Made some changes, fixed alu_reg_flt2flt() which...

    Made some changes, fixed alu_reg_flt2flt() which was actually buggy (caught it while trying and still failing to fix FPN addition), mades an improvment to alu_print_reg() to add spaces between the...
  16. Replies
    154
    Views
    3,754

    Still failing to manage the addition correctly,...

    Still failing to manage the addition correctly, made some changes however so should be easier to understand the code as a result:


    int_t alu_match_exponents_and_normalise
    (
    alu_t *alu
    ,...
  17. Replies
    154
    Views
    3,754

    *sigh* Another problem I'm not seeing the cause...

    *sigh* Another problem I'm not seeing the cause of, not getting the right value out of my exponent and mantissa when I do addition, here's the code snippet (from alu_math.c):


    int_t...
  18. Replies
    154
    Views
    3,754

    Found the issue, I forgot to add a return 0; at...

    Found the issue, I forgot to add a return 0; at the end of the successful scope, did that and the error went away, btw it turned out the reason gede wouldn't compile was because the dev changed...
  19. Replies
    154
    Views
    3,754

    Had to reinstall my system due to f***ing up sudo...

    Had to reinstall my system due to f***ing up sudo permissions, started using cppcheck and learned something new about C89, I was under the false impression that all variables had to be declared at...
  20. Replies
    154
    Views
    3,754

    Not sure but for now it reflects the way we do it...

    Not sure but for now it reflects the way we do it in decimal on pen and paper, just a little more complex due to the fact pc analysis and human analysis thought does not work the same way


    ...
  21. Replies
    154
    Views
    3,754

    I fixed the division problem, turned out the...

    I fixed the division problem, turned out the issue was split in 2 parts, 1st I noticed that alu_reg_sub() incorrectly reported ENODATA when VAL happened to have no ones aligned with a short NUM, this...
  22. Replies
    154
    Views
    3,754

    You see how I set SEG to REM before the loop?...

    You see how I set SEG to REM before the loop? That's because I'm defaulting the register information such as which node to REM's, I then override the bits of the node it is referring to to the bit...
  23. Replies
    154
    Views
    3,754

    Ah, so I was indeed wrong, I did think it weird...

    Ah, so I was indeed wrong, I did think it weird that realloc somehow both succeeded and failed at once, so it was just a relic of old code, now removed



    That was... an avoidance of using...
  24. Replies
    154
    Views
    3,754

    test_alu.c has been fixed, the build issue was...

    test_alu.c has been fixed, the build issue was likely just because I hadn't maintained the file, currently building fine for me now


    make build
    cd ../ && make --no-print-directory build...
  25. Replies
    154
    Views
    3,754

    I'll take a closer look at your build problem 2mw...

    I'll take a closer look at your build problem 2mw after work, as for test_alu.c I might abandon that one altogether now that I'm getting the hang of the check library, anyways for now use make check...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4