|
hey try holding a value greater than 2,147,483,647 oh wait you can't
|
# ? Oct 5, 2014 22:44 |
|
|
# ? Apr 24, 2024 20:02 |
|
|
# ? Oct 5, 2014 22:45 |
|
if you really think about it everything is just a bunch of 1s and 0s maaaaaaaaaaaaaaan
|
# ? Oct 5, 2014 22:46 |
|
mishaq posted:if you really think about it your posts are closer to 0 out of 10 with 10 being good and 0 being bad yospos bitch
|
# ? Oct 5, 2014 22:50 |
|
Widdiful posted:your posts are closer to 0 0 out of 2 aint bad
|
# ? Oct 5, 2014 22:51 |
|
Valeyard posted:0 out of 2 aint bad Shut up valeyard
|
# ? Oct 5, 2014 23:22 |
|
lol if your using anything below ieee 128 bit for floats
|
# ? Oct 5, 2014 23:32 |
|
mishaq posted:if you really think about it im the high impedance
|
# ? Oct 5, 2014 23:46 |
|
unsigned ftw who really needs negative numbers srsly
|
# ? Oct 6, 2014 06:07 |
|
Wrong idiots unsigned should only be used when doing bit twiddling, not arithmetic. 'b.. but think of all those times I need to store values that might reach over 2 billion but never reach 4 billion!' - you.
|
# ? Oct 6, 2014 06:47 |
|
yes i really need 2 billion negative numbers
|
# ? Oct 6, 2014 06:51 |
|
uint is the lords own type
|
# ? Oct 6, 2014 06:51 |
|
you know whats my favorite thing? how how in c++ a char is signed by default. all of those negative ascii characters. i like how.
|
# ? Oct 6, 2014 06:54 |
|
signed chars are bullshit, man
|
# ? Oct 6, 2014 16:30 |
|
lol if you don't use your own bespoke artisanal quaternion type
|
# ? Oct 6, 2014 17:06 |
|
I just use COBOL.
|
# ? Oct 6, 2014 17:21 |
|
the only programming language I know how to use is python where the ints are intfinite
|
# ? Oct 6, 2014 17:25 |
|
pythons got some weird rear end typecastingcode:
i do like how ints and longs are one and the same tho
|
# ? Oct 6, 2014 17:27 |
|
Egan Yardley posted:i do like how ints and longs are one and the same tho nice 32-bit machine you got there
|
# ? Oct 6, 2014 17:37 |
|
Egan Yardley posted:pythons got some weird rear end typecasting wtf are you doing numpy or what? because smdh if you're thinking about specific integer types in vanilla python and yeah, this was a good change from python2 to python3 (ints and longs being the same)
|
# ? Oct 6, 2014 17:47 |
|
Symbolic Butt posted:wtf are you doing numpy or what? because smdh if you're thinking about specific integer types in vanilla python i never actually found a use case for this garbage, im just a django scrublord
|
# ? Oct 6, 2014 17:48 |
|
7 fs you can't say on television
|
# ? Oct 6, 2014 17:53 |
|
BigInteger
|
# ? Oct 6, 2014 18:29 |
|
Raluek posted:you know whats my favorite thing? how how in c++ a char is signed by default. all of those negative ascii characters. I can kinda see why it's that way though, like if you made a list of the primitive types all the other forms without modifiers are signed The weirdest thing I can see is that char, signed char, and unsigned char are considered different and distinct types
|
# ? Oct 6, 2014 18:45 |
|
BigNumber.jscode:
|
# ? Oct 6, 2014 18:48 |
|
unsigned is nice for those few times that you actually desire silent wrap around on your fixed width number type
|
# ? Oct 6, 2014 18:52 |
|
gently caress java's lack of unsigned types forever
|
# ? Oct 6, 2014 21:21 |
|
Soricidus posted:gently caress java forever
|
# ? Oct 6, 2014 22:06 |
|
always use unsigned for things that make no sense as negative values, such as length
|
# ? Oct 6, 2014 22:10 |
|
The Management posted:always use unsigned for things that make no sense as negative values, such as length sounds like you haven't seen my dick
|
# ? Oct 6, 2014 22:12 |
|
The Management posted:always use unsigned for things that make no sense as negative values, such as length or indices into strings
|
# ? Oct 6, 2014 22:17 |
|
long long long long long long long long long long
|
# ? Oct 6, 2014 22:53 |
|
qntm posted:or indices into strings
|
# ? Oct 6, 2014 23:27 |
|
The Management posted:always use unsigned for things that make no sense as negative values, such as length then you accidentally compare against a signed int (because everyone uses signed for everything, because it's the default) and life is suffering
|
# ? Oct 6, 2014 23:34 |
|
pram posted:unsigned ftw I prefer to maintain a separate bool to hold the sign
|
# ? Oct 7, 2014 01:10 |
|
I saw the sign as a function return value to determine error state if you aren't checking your compiler warnings to see if you are comparing signed and unsigned then you deserve your many hours of debugging your bad code same if you don't check your function returns anyway I guess you can use exceptions if you write C++ but keep that hot mess away from me
|
# ? Oct 7, 2014 02:45 |
|
kittenkicker posted:I saw the sign those lyrics dont match up
|
# ? Oct 7, 2014 02:47 |
|
graph posted:those lyrics dont match up lol
|
# ? Oct 7, 2014 02:48 |
|
graph posted:those lyrics dont match up Go compare the sign it'll open up your mind by giving function results to you it'll help you, oh oh oh oh
|
# ? Oct 7, 2014 02:53 |
|
|
# ? Apr 24, 2024 20:02 |
|
https://www.youtube.com/watch?v=ma0v2pgt0mw
|
# ? Oct 7, 2014 11:25 |