[DiscordArchive] Does anybody know what this operator does in c++?
[DiscordArchive] Does anybody know what this operator does in c++?
Archived author: schlumpf • Posted: 2019-05-15T17:24:14.561000+00:00
Original source
so you're right
Archived author: Skarn • Posted: 2019-05-15T17:26:26.422000+00:00
Original source
native/MipMapGenerator.cpp:13:1: warning: control may reach end of non-void
function [-Wreturn-type]
Archived author: Skarn • Posted: 2019-05-15T17:26:30.711000+00:00
Original source
what does this warning mean?
Archived author: Skarn • Posted: 2019-05-15T17:27:00.926000+00:00
Original source
there is a return value
Archived author: schlumpf • Posted: 2019-05-15T17:27:02.278000+00:00
Original source
that
```
IF a == 0
dst := undefined
```
Archived author: schlumpf • Posted: 2019-05-15T17:27:17.209000+00:00
Original source
which is as intel defined it.
Archived author: schlumpf • Posted: 2019-05-15T17:27:54.525000+00:00
Original source
You may want to put a `throw std::invalid_argument ("no bit set in msb32");` as last line to define that behavior
Archived author: Skarn • Posted: 2019-05-15T17:28:12.485000+00:00
Original source
yeah, that'd be nicer
Archived author: Deamon • Posted: 2019-05-15T17:44:36.155000+00:00
Original source
Bit_scan_reverse.. Ive seen it in particle code of blizztards