Thursday, 28 January 2016

Lecture#1 ka Point#54 (Csharp Roman Hindi/Urdu Me).

"Float data type" me (4bytes = 32bits) hongey. 32 bits me se 1 bit ".(Dot ya Decimal)" sign store krne k liye use hogi. Baki remaining 31 bits me numbers store hongey. 1 bit jis me "." sign store ho rha hai woh left side pe hogi ya phir right side pe hogi. Agar "." sign left side pe hoga to baki remaining 31 bits me jo number store hoga woh boht chota number hoga aur agar "." sign right side pe hoga to baki remaining 31 bits jo hongey un me jo number store hoga woh "integer" hoga ya hum yeh bhi keh saktey hain k "integer" se thora kam hoga kyun k 1 bit me "." store hoga. Float ki maximum range "32767" hogi. "65535" float ki maximum range nahi hogi kyun k 1 bit me "." store ho rha hai.

No comments:

Post a Comment