From: SourceForge.net <no...@so...> - 2008-03-20 13:24:18
|
Bugs item #1813164, was opened at 2007-10-14 07:49 Message generated for change (Settings changed) made by dgp You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=1813164&group_id=10894 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: 75. Tutorial Group: None Status: Open Resolution: None Priority: 8 Private: No Submitted By: Michael Schlenker (mic42) >Assigned to: Neil Madden (tallniel) Summary: entier() not mentioned in type conversion of expr Initial Comment: In the type conversion section of Tcl6.html the new entier() function is missing. This snippet should fix it: <pre> double int wide bignum </pre> <ul> <li> <code class="keyword">double()</code> converts a number to a floating-point number. </li> <li> <code class="keyword">int()</code> converts a number to an ordinary integer number (by <i>truncating</i> the decimal part). </li> <li> <code class="keyword">wide()</code> converts a number to a so-called wide integer number (these numbers have a larger range). </li> <li> <code class="keyword">entier()</code> coerces a number to an integer of appropriate size to hold it without truncation. This might return the same as int() or wide() or an integer of arbitrary size. </ul> <p> ---------------------------------------------------------------------- Comment By: Donal K. Fellows (dkf) Date: 2007-11-01 09:53 Message: Logged In: YES user_id=79902 Originator: NO If the tutorial is not being shipped with 8.5.0, this isn't a blocker. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=1813164&group_id=10894 |