$$$$ @FIX NOTICE CHAT 11/09/12 21:16:15 7124 DATE 11/09/12 Procedure @FIX Voir aussi : @ARR -------------- ENTI Syntaxe : MOT2 = @FIX FLOT1 ENTI1 (MOT1) Purpose : --------- This procedure builts a word MOT2 which is the truncation of the number FLOT1 to ENTI1 digits after the point. Comments : ---------- FLOT1 : number being truncated ENTI1 : number of digits after the point. MOT1 : facultative word equal to 'EXPOSANT' demanding the writing of MOT2 as 'aEb' (a being the mantiss, and b the exponent). Remarks : --------- 1 - the writing in the 'EXPOSANT' form is automatic if MOT2 would otherwise only be made of 0, or if FLOT1 is greater than 1.D10, 2 - Does not work with long numbers, 3 - The quality of the results depends on the machine precision.
© Cast3M 2003 - All rights reserved.
Disclaimer