Y2038K

Kekes Stamatis ske at plaisio.gr
Sat Sep 18 14:57:03 EEST 1999



vagelis wrote:

> > Oraia, na kano tora kai go mia koufh erothsh.
> >
> > Dhaldh an to kaneis long long dhaldh 64bit 8a exeis problhma POLU POLU
> > argotera? 8elo na po h allagh einai toso aplh?
> >
> > Harris
> >
> > PS: perimeno me agonia thn apanthsh tou RICUDI.
>
> Den ksero an grafo malakia alla...
> Pistevo oti 8a yparksoun provlimata me ta data types (an px ginetai mia
> sigkrisi kapou ston kodika aftou tou ari8mou me ena antistixou data type).
> mporeis na sigkrineis ena long me ena int as poume??? i prepei prota na
> metatrepseis ton int se long?
> -=vagelis=-
>
> --
> ====================================================================
> Gia boithia (h na diagrafhte) e-mail sto majordomo at hellug.gr
> Ta archives tis listas einai sto http://lists.hellug.gr/archives
> prin steilete kapoia erothsh psakte mipos exei hdh apanththei.
> Gia opoiodipote problima stilte e-mail ston owner-linux-greek-users at hellug.gr
> ====================================================================

 Για την ακριβή συγκριση δύο αριθμών υπάρχει και το typecasting του μικρότερου
τύπου σε μεγαλύτερου π.χ.
 int a;
long b;

   .
   .
   .
   .
if( long( a )==b )
{
   .
   .
   .
   .
}

 Σταμάτης


--
====================================================================
Gia boithia (h na diagrafhte) e-mail sto majordomo at hellug.gr
Ta archives tis listas einai sto http://lists.hellug.gr/archives
prin steilete kapoia erothsh psakte mipos exei hdh apanththei.
Gia opoiodipote problima stilte e-mail ston owner-linux-greek-users at hellug.gr
====================================================================



More information about the Linux-greek-users mailing list