+64 27 211 3455 email me
I have a line in my C++ programming assignment:
#define INFINITY 10000
sometimes its useful to define as -1
whenever i need an ‘infinite’ value it’s usually to have something to initally compare with to find the smallest x in a set. so -1 wouldn’t work.
thats when you compare as unsigned ints
i agree with jono on the unsigned ints.
also: how about using a banana integration with two half hitches in order to define a set of sub-parameters?
mwahahah
I used to like this site… but then it started getting all techy…
hey, you’re so much gooder looking than your brother Richard!
You must be logged in to post a comment.
sometimes its useful to define as -1
whenever i need an ‘infinite’ value it’s usually to have something to initally compare with to find the smallest x in a set. so -1 wouldn’t work.
thats when you compare as unsigned ints
i agree with jono on the unsigned ints.
also: how about using a banana integration with two half hitches in order to define a set of sub-parameters?
mwahahah
I used to like this site… but then it started getting all techy…
hey, you’re so much gooder looking than your brother Richard!