Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] Wiki page where?

[DiscordArchive] Wiki page where?

[DiscordArchive] Wiki page where?

Pages (3): Previous 1 2 3 Next
rektbyfaith
Administrator
0
06-04-2018, 06:53 AM
#11
Archived author: Quantam • Posted: 2018-06-04T06:53:22.717000+00:00
Original source

Normally you would divide by a power of 2 because it's so much faster, but if you really need the full range you have to divide by power of 2 - 1
rektbyfaith
06-04-2018, 06:53 AM #11

Archived author: Quantam • Posted: 2018-06-04T06:53:22.717000+00:00
Original source

Normally you would divide by a power of 2 because it's so much faster, but if you really need the full range you have to divide by power of 2 - 1

rektbyfaith
Administrator
0
06-04-2018, 06:54 AM
#12
Archived author: Quantam • Posted: 2018-06-04T06:54:37.857000+00:00
Original source

Hmm. Storing abs+sign certainly makes rounding easier. Doing a proper round on a two's complement number takes a good number of instructions if you're not using a DSP chip (which has hardware rounding)
rektbyfaith
06-04-2018, 06:54 AM #12

Archived author: Quantam • Posted: 2018-06-04T06:54:37.857000+00:00
Original source

Hmm. Storing abs+sign certainly makes rounding easier. Doing a proper round on a two's complement number takes a good number of instructions if you're not using a DSP chip (which has hardware rounding)

rektbyfaith
Administrator
0
06-04-2018, 07:00 AM
#13
Archived author: Quantam • Posted: 2018-06-04T07:00:41.319000+00:00
Original source

In any case, the difference between fixed_point and fixed16 is the -1
rektbyfaith
06-04-2018, 07:00 AM #13

Archived author: Quantam • Posted: 2018-06-04T07:00:41.319000+00:00
Original source

In any case, the difference between fixed_point and fixed16 is the -1

rektbyfaith
Administrator
0
06-04-2018, 07:01 AM
#14
Archived author: schlumpf • Posted: 2018-06-04T07:01:40.143000+00:00
Original source

Yes. And I don’t know which one is correct.
rektbyfaith
06-04-2018, 07:01 AM #14

Archived author: schlumpf • Posted: 2018-06-04T07:01:40.143000+00:00
Original source

Yes. And I don’t know which one is correct.

rektbyfaith
Administrator
0
06-04-2018, 07:02 AM
#15
Archived author: Quantam • Posted: 2018-06-04T07:02:00.857000+00:00
Original source

Are we talking in general, or is this for some game data structure?
rektbyfaith
06-04-2018, 07:02 AM #15

Archived author: Quantam • Posted: 2018-06-04T07:02:00.857000+00:00
Original source

Are we talking in general, or is this for some game data structure?

rektbyfaith
Administrator
0
06-04-2018, 07:04 AM
#16
Archived author: Quantam • Posted: 2018-06-04T07:04:00.143000+00:00
Original source

If this is in general then the standard is to use two's complement math with a power of two divider (unless you absolutely need [-1,1] range
rektbyfaith
06-04-2018, 07:04 AM #16

Archived author: Quantam • Posted: 2018-06-04T07:04:00.143000+00:00
Original source

If this is in general then the standard is to use two's complement math with a power of two divider (unless you absolutely need [-1,1] range

rektbyfaith
Administrator
0
06-04-2018, 07:07 AM
#17
Archived author: schlumpf • Posted: 2018-06-04T07:07:26.611000+00:00
Original source

It is the wowdev wiki..
rektbyfaith
06-04-2018, 07:07 AM #17

Archived author: schlumpf • Posted: 2018-06-04T07:07:26.611000+00:00
Original source

It is the wowdev wiki..

rektbyfaith
Administrator
0
06-04-2018, 07:08 AM
#18
Archived author: Quantam • Posted: 2018-06-04T07:08:04.600000+00:00
Original source

Well if it's a game structure you're gonna have to break out the disassembly
rektbyfaith
06-04-2018, 07:08 AM #18

Archived author: Quantam • Posted: 2018-06-04T07:08:04.600000+00:00
Original source

Well if it's a game structure you're gonna have to break out the disassembly

rektbyfaith
Administrator
0
06-04-2018, 07:08 AM
#19
Archived author: Quantam • Posted: 2018-06-04T07:08:12.672000+00:00
Original source

Should be very obvious if it's not power of two
rektbyfaith
06-04-2018, 07:08 AM #19

Archived author: Quantam • Posted: 2018-06-04T07:08:12.672000+00:00
Original source

Should be very obvious if it's not power of two

rektbyfaith
Administrator
0
06-04-2018, 07:08 AM
#20
Archived author: schlumpf • Posted: 2018-06-04T07:08:14.205000+00:00
Original source

We’re not inventing that shit for ourselves. Why would you ever invent a 5,9 fixed point value out of free will?!
rektbyfaith
06-04-2018, 07:08 AM #20

Archived author: schlumpf • Posted: 2018-06-04T07:08:14.205000+00:00
Original source

We’re not inventing that shit for ourselves. Why would you ever invent a 5,9 fixed point value out of free will?!

Pages (3): Previous 1 2 3 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)