Jump to content

  • Log In with Google      Sign In   
  • Create Account

phresnel

Member Since 21 Oct 2008
Offline Last Active Jan 16 2013 07:29 AM

Posts I've Made

In Topic: Naming functions that 'operate on' vs 'copy and return'

11 February 2012 - 12:50 AM

Just about the technical side:

2) C++ wouldn't allow it, even if I wanted it - the function parameters are too identical so the function names would collide.


C++ allows to overload on const and non-const references.

In Topic: What is bigger?

15 February 2011 - 09:00 AM

Well if you think about it bitwise, like if these 2 "values" were being loaded into a register...

NULL is just 0

NaN is nonzero

thus NaN is bigger!


NaN is neither nonzero, nor isn't it nonzero. Dividing anything by NaN yields NaN again, which is neither nonzero, nor isn't it nonzero, nor is it infinity. Whereas when you divide a non-zero number by NULL, the result will be infinity. Therefore, the real question is whether NaN not being infinity not or not not being infinity is worth more than x/NULL, with x!=0, which always gives infinity.

Wait. ... ...

Theeeeeerefore, NaN is bigger. NULL means invalid, but the result of a computation that uses NULL as one of the operands is not necessarily invalid, whereas NaN always stays NaN, never mind you push or pull or accumulate or pop it.

Hear ye: NaN is he true dominator of thy scientific number cruncher, whereas the fool NULL hides deep deep in thy pipeline.

In Topic: What is bigger?

15 February 2011 - 08:47 AM

Ich verstehe nicht so ganz, was das "Auch" dort bedeuten soll.

In Topic: Texture a Sphere

15 February 2011 - 03:02 AM

here is a link to a pic. of the tiger: Tiger


nitpick: URIs always use forward slashes to seperate directory names. Actually, when you copy and paste the url target, you get

http://www.mperfect.net/cfMDX/_images%5CMeshes.JPG

i.e. you now have _images%5CMeshes.JPG as a filename.

The corrected version is http://www.mperfect.net/cfMDX/_images/CMeshes.JPG

In Topic: Coder or Programmer

15 February 2011 - 02:56 AM

a developer, programmer, and coder. And for bonus points, a software engineer!

... and of course there's "hacker", to make the confusion even worse.

Personally, I mostly use the nouns "[software] developer", "[software] programmer", and the verbs "hacking", "tweaking", "coding", "programming" (so basically all of them). I don't put too much meaning in those.

PARTNERS