Programming questions that are significantly affected or best defined by the underlying mathematics of the problem.

learn more… | top users | synonyms

14
votes
9answers
3k views

Pure vs Applied Math For Programmers [closed]

Math has always been my thing in that I've always found the subject easy. Computer Science is my second love, though. Given the choice, I would prefer to major in Math. Since the only careers one ...
6
votes
8answers
3k views

What specific branches of Mathematics are useful for a programmer to learn?

I have less than 6 months to learn mathematics for my Master course in CS. (With no prior formal education in any computer/mathematics related area.) So I need to prepare my self to be tested on math ...
7
votes
5answers
5k views

Recomendation for Math books related to computer science [duplicate]

Possible Duplicate: Is there a canonical book on mathematics for programmers? I need your recommendation for math books related to computer science in these areas: Boolean Algebra ...
2
votes
2answers
3k views

0x9e3779b9 golden number

i'm trying to understand a constant 0x9e3779b9 what kind of data is this? it's not binary, not decimal, what is this? it's a constant used on the TEA algorithm it says it's derived from the golden ...
7
votes
1answer
889 views

Discrete Mathematics Refreshers Course?

I graduated 8 years ago and did a discrete mathematics course in my 2nd year, but I've been told that I'll likely be asked discrete maths questions in an upcoming interview. Is there a simple ...
3
votes
8answers
8k views

What is the difference between a floating decimal number and fixed decimal number?

Please explain in layman's terms.
12
votes
5answers
2k views

Is functional programming strongly related to mathematics?

Is functional programming so related to mathematics because much of the functional programming is depicted with mathematical notions? Is it a MUST to have a strong base of maths to learn & ...
15
votes
0answers
3k views

Do we have to learn Mathematics to be a good Programmer? [duplicate]

Do we have to learn Mathematics to be a good Programmer?
3
votes
6answers
2k views

how to prove the complexity of an algorithm mathematically

I know the fundamental algorithms and it's complexities. for e.g if Binary Search has Complexity O(log n), then how I can mathematically prove this?
-2
votes
4answers
826 views

Do you use Mathematica during the software development process? [closed]

I'm curious whether Mathematica could help me in software development or not. Do you use it for that, and for what? For instance, do you use it to analyze algorithms, or to do something else? I will ...
8
votes
6answers
1k views

Improving programming and math skills at home [closed]

Apologies if this sounds like a blog. I'm currently completing tertiary eduction in order to be accepted into a CS course at university, and I would like to know what options are available to me to ...
6
votes
8answers
3k views

I love programming but never get projects started

I read this question and the most voted answer and said to myself "Those things are what I want to do! But why the heck I'm not doing it?" The problem here is that I can't get anything started. I ...
6
votes
2answers
2k views

Common mistakes with javascript arithmetic

I've ran into several oddities using javascripts floating point arithmetic, but I can never recall them off the top of my head! What are some common mistakes when using JavaScript to do math?
5
votes
2answers
279 views

Does anyone use Ceiling and *not* immediately cast it to an integer?

I think every single time I've used Math.Ceiling or its language variant, I've always had to cast it to an integer. I mean... that's the whole point, isn't it? To get a whole number. So why doesn't it ...
4
votes
2answers
252 views

Is there a common mathematical symbology for collections?

I am being asked to define several of my algorithms in mathematical terms to describe my work to a customer. I am trying to determine if anybody knows whether common operators for collections like ...
36
votes
14answers
17k views

Why does DirectX use a left-handed coordinate system?

I considered posting on Stack Overflow, but the question strikes me as being far too subjective since I can't think of a reasonable technical explanation for Microsoft's choice in this matter. ...
10
votes
5answers
700 views

Does any programming language use variables as they're in maths?

In maths, a variable means you can put any number there, and an equation will still be true: root(square(x)) = abs(x) In programming languages, this is not so: a var can change. In Python: y = ...
2
votes
4answers
298 views

How does language [X] handle indeterminate forms like 0^0?

As x goes to 0, the limits of x^0 and 0^x go to 1 and 0, respectively. Some say that the best value for 0^0 depends on context, others say that the value of 0^0 should be 1. I'm interested in knowing ...
12
votes
5answers
2k views

Mathematics for Computer Science [closed]

I am going into university next year. I think maths would be one of the more important aspects of computer science. I recently saw the MIT Introduction to Algorithms video on YouTube and the maths ...
10
votes
9answers
3k views

Will getting a degree in mathematics help in game development?

I'm two months away from getting my degree in systems engineering, which is to say, I learned how to code and code well using managed languages. The only reason I got into this career was because I ...
3
votes
5answers
994 views

Which programming languages doesn't use operator precedence besides Lisp like languages? [closed]

And what do you think about operator precedences? Would be harder programming in language where the operations are executed in sequential order? Ex.: 2 + 3 * 4 == 20 2 + (3 * 4) == 24 Ok, Lisp ...
43
votes
23answers
30k views

Should certain math classes be required for a Computer Science degree? [closed]

For a Computer Science (CS) degree at many colleges and universities, certain math courses are required: Calculus, Linear Algebra, and Discrete Mathematics are few examples. However, since I've ...
9
votes
1answer
5k views

Math questions at a programmer interview? [closed]

So I went to an interview at Samsung here in Dallas, Texas. The way the recruiter described the job, he didn't make it sound like it was too math-oriented. The job basically involved graphics ...
38
votes
23answers
5k views

What programming jobs would be best for a mathematician? [closed]

I'm a math professor that is losing his job, and I'm trying to gain programming skills, since academic jobs are scarce these days. Are there particular types of programming jobs that I should try to ...