Programming, Music, Games. Creation.

Posts tagged “x

Team DK : BurNIng, iceiceice, Mushi, LaNm, X!! – Their new Line-up!

Dota 2 Professional team, DK just announced their new line-up and shocked the world.

Mushi shared a photo of DK’s line up, and DK officially accepted the new line-up.

2013-09-06

“After days of speculations, we inform you that we have finalized our roster. Please, welcome Mushi, iceiceice and LaNm in our line-up. They will play alongisde BurNIng and Dai”

Mushi’s departure to DK was somehow speculated as he clearly made his statement of departure to China.

Although iceiceice seemed to have no intention of leaving Team Zenith, those who watched his livestream on twitch the day before may not be surprised as he showed unusual behavior of not talking and staying silent during the entire stream. He too did practice offlane – his new position in DK – during the stream, despite of his normal and comfortable position being mid.

Current line up is
BurNIng / Carry
Mushi / Mid
iceiceice / Offlane
LaNm / Support
Dai / Support

iceiceicelol

iceiceice had mentioned that all-star teams will not work out during one of his livestreams, and he had shown rather negative attitude towards Mushi’s departure to China. So did some of the fans.

However, majority are happy to see the formation of ultimate Asian team to beat the Alliance – who showed outstanding results during the TI3.

No information or posts about the future of Team Zenith has been given.

GLHF DK.iceiceice

– iceiceice fan Bermuda


How does the computer save Real Numbers?

How does the computer save real numbers?

Lets look at only 2 bytes. (in reality, the computer uses more than 4 bytes to save real numbers.)


The computer uses the following equation to save real numbers

Why use this equation?

setting ‘m’ as numbers before ‘.’ and setting ‘e’ as numbers after ‘.’ is inefficient and takes a lot of memory to save real numbers.
However, using the equation, the computer is able to save real numbers efficiently, no matter how complicated they are.

Still, the computer cannot save wide range of real numbers and cannot save them accurately. It simply saves the data closest possible to the value we want to save. This is called float-point error.

Float-point error

#include <studio.h>

int main(void)
{
int i;
float f=0.0;

for(i=0; i<100; i++)
f+=0.1

printf(“%f “, f);

return 0;
}

the following is a good example of float error.

Variable f is declared,
until ‘i’ becomes 100, 0.1 is added to ‘f’
since ‘i++’ is used, ‘f’ is added by 0.1 100 times

The output must be 10, however you will see slight difference in the value. For example,

10.00002