computers throw interrupt when you divide by 0 instead of returning NaN/Inf/MaxInt Instructions left from early 80's shift and rotates with more than 1 cycle latency privilege rings task segments
Name:
Anonymous2016-11-27 15:29
Who are you quoting?
Name:
Anonymous2016-11-27 17:58
instead of returning NaN/Inf
There is no NaN/Inf for integers.
MaxInt
Since when is returning a valid value as an error indication considered a proper practice?
For all intensive purposes I think you are wrong. In an age where false morals are a diamond dozen, true virtues are a blessing in the skies. We often put our false morality on a petal stool like a bunch of pre-Madonnas, but you all seem to be taking something very valuable for granite. So I ask of you to mustard up all the strength you can because it is a doggy dog world out there. Although there is some merit to what you are saying it seems like you have a huge ship on your shoulder. In your argument you seem to throw everything in but the kids Nsync, and even though you are having a feel day with this I am here to bring you back into reality. I have a sick sense when it comes to these types of things. It is almost spooky, because I cannot turn a blonde eye to these glaring flaws in your rhetoric. I have zero taller ants when it comes to people spouting out hate in the name of moral righteousness. You just need to remember what comes around is all around, and when supply and command fails you will be the first to go. Make my words, when you get down to brass stacks it doesn't take rocket appliances to get two birds stoned at once. It's clear who makes the pants in this relationship, and sometimes you just have to swallow your prize and accept the facts. You might have to come to this conclusion through denial and error but I swear on my mother's mating name that when you put the petal to the medal you will pass with flying carpets like it’s a peach of cake. Sin celery yours,
>>7 My guess is that it should return an enum of some sort. C enums just happen to usually safely 'decay' to ints. You're not gonna do arithmetic or something with these 'ints', anyway -- you're gonna set them to some specific value on one end and check for some error or condition value on the other end. polite sage for offtopic
my programmed had 12 errors instead of 11, how useful
Name:
Anonymous2016-11-28 6:04
>>10 petal stool taken for granite diamond dozen It's a pretty clever post really
prema donna is a tricky one though, who the hell drops a bit of latin in while speaking english
Name:
Anonymous2016-11-28 6:09
*prima donna, and uh it's italian for people who say prima donna
Name:
Anonymous2016-11-28 8:10
>>4 What is this supposed to mean? Division by 0 does not give a valid value in C.
Name:
Anonymous2016-12-10 2:15
>>20 It means C programmers return ``magic numbers'' for errors.
Name:
Anonymous2016-12-11 10:40
Take a gander at these ``magic numbers"
Name:
Anonymous2016-12-11 11:08
>>18 Uh, everyone? Since most English words are actually Latin corrupted by the French. In particular, prima donna means "first donna", which is easy to infer from English words like "primary", "prior", "primal" or "prime minister".
RISC-V does not cause exceptions on arithmetic errors, including overflow, underflow, subnormal and divide by zero. Instead, both integer and floating-point arithmetic produce reasonable default values and set status bits. Divide-by-zero can be discovered by a single branch after the division. The status bits can be tested by an operating system or periodic interrupt.[3]