They're not exactly metaphores, like I said I'm imagining this to be a "game" environment with all the concepts of programming represented by something tangible (digitally speaking that is) that...
Type: Posts; User: awsdert
They're not exactly metaphores, like I said I'm imagining this to be a "game" environment with all the concepts of programming represented by something tangible (digitally speaking that is) that...
slightly off topic though still important for the ALU, finally found an example of those annoyingly complex math formulas for random numbers converted into code, tried my own variant (just a change...
For if statements I'm thinking of some sort of piston device with the booleans being processed underneath the pistons blocking progress in the false state
Turned out to be as simple as a noob mistake on length handling, renamed a parameter of alup_t to make it less likely I'll make that mistake in future, finally got back to FPN math bugs, current one...
Gotta get ready for work so will just dump the code and output for now (uploaded all code to alu project on github just now so can search through that whilst waiting for me to get a chance to repond...
Not anywhere close to what I had in mind,go youtube "dragon quesy builders 2" thats the kind of environment I'm thinking of
Think about it, how many times have you seen someone not understand a basic concept in programming, wouldn't it be easier to help them understand with something visual that happens to be fun? That's...
Both
For loops of any kind I'm thinking of cogs, for how to activate the loop in order as it would in code I'm thinking of maybe a half pipe with water flowing upto something connected to it that blocks...
Yeaaah, thing is I already did that before I started, doesn't mean I get a full understanding from documents alone, sometimes you just have to get on with failing a few dozen times before you finally...
Didn't have overtime today and when I finally felt like programming I decided to spend the past few hours changing how certain information is recorded in the API, took a while to fix all the...
Weather it is ourselves or someone else it is inevitable that someone will try to either create or improve a graphical "programming" environment (haven't researched it yet) either for extracting code...
Haven't managed to fix that rounding error as yet but found an example of the FPN subtraction bug I discovered earlier but had the wrong info displayed at the time. Got overtime today, early start...
Fixed the issue, ended up having to dedicate _tmp to _DST, _NUM for _SRC, move _NUM to _DST, _VAL to _SRC afterwards (since have to make sure is a float anyways) and remove the check for _NUM being...
That's strange, have you checked that unic downloaded properly? I know my code there could probably use some work but I need the help of someone used to using git in shell rather than GUI.
There's...
Fixed it, turned out it was because I shortened the length of _DMAN before it needed to be, or rather it didn't need to be at all, now the division shows a bug on the same values, got a funeral to go...
Found another FPN multiplication bug:
make check.run
...
Running suite(s): ALU
../src/alup.c:1524: alup__mul() 'MUL 2.1'
...
../src/alup.c:1535: alup__mul() 'MUL 2.2'...
uchar.h is no longer included under windows for now since the docs say char32_t is a built-in type, SSIZE_TYPE is now mapped to SSIZE_T when the WIN32 api is detected, should fix the ssize_t issue so...
C11 is still a standard so my statement stands true there, also MS DOES support ssize_t in the form of think it was SSIZE_T, I forgot about it until the recent posts, as soon as I get round to it I...
They ARE standard headers, it's just MS being an ass trying to force everyone to use their private s**t
Ah, didn't think of that, unfortunately when I tried to setup a dual boot windows didn't want to install... despite being preinstalled when I 1st got the new computer, goes to show that windows is an...
Welp the lack of replies tells me one of these things:
1. No one had any ideas for more thorough testing (doubtful)
2. None of their ideas flagged any bugs (assumes people actually downloaded the...
I managed to fix it, turned out I had to use 2 different variables with a common value difference of 1, tried just 1 value and subtracting 1 but for whatever reason it refuses accuracy when only one...
Managed to fix it:
int_t alup__mul( alup_t _NUM, alup_t _VAL, void *_cpy, void *_tmp )
{
if ( alup_floating( _NUM ) || alup_floating( _VAL ) )
{
int_t ret;
alup_t _DST, _SRC, _DMAN,...
Welp the new more thorough tests revealed a bug as I was expecting in FPN multiplication, division remains to be seen as the tests now stop on the 1st error, I'm not getting any ideas presently so...