Paul Chitescu wrote: > > Serghei Amelian wrote: > > > > Unde se gaseste functia round()? Ca in math.h nu este... > > > > Serghei. > > In C nu exista functie round(x), asta se face la conversia implicita > float -> int. > Exista : rint(x), llround(x) care fac rotunjiri si care tin cont si de conventiile de rotunjire ale lui 0.50 > Exista doar functiile floor(x) si ceil(x) care fac rotunjire in jos si > respectiv in sus. > > -- > Paul Chitescu > [EMAIL PROTECTED] http://pchitescu.myip.org/ ICQ:22641673 > Any spammers will be painfully squeezed into /dev/null > --- > Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to > unsubscribe from this list.
-- +---------------------------------+-----------------------------------+ | Constantin Vasiliu | StipoSoft System Administrator | | [EMAIL PROTECTED] | Linux Registered User #166419 | +- tel:031/610215 ----------------+------------------ fax:031/610017 -+ --- Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to unsubscribe from this list.
