Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Programming questions that are significantly affected or best defined by the underlying mathematics of the problem.
-1
votes
CPU Architecture and floating-point math
You do not need floating point hardware to use floating point math.
IEEE-754 has a number of floating point lengths 80, 64, 32 and now a 16. There are other non-ieee floating point formats. … You might have been better off with integer math or keeping track of the decimal place yourself. …
1
vote
Which if statement requires less computation?
Well cant really answer this because
if (!b && c || a && c)
is not equal to
if ((! a && b) || c)
The truth tables for each are below, abc output:
000 0
001 1
010 0
011 0
100 0
101 1
110 0
111 1 …