title: How to round a floating-point to the nearest even assembly
body: <p>i have i number  1.010101101 and the type of the number is REAL8 and i try to do default 
  rounding method "Round to nearest even", i saw a lot of example and its all about rounding up and the use frndint but after a lot of serch i realized it's not for default 
  rounding i am right or wrong ?</p>
  
  <p>if it's wrong can you please explain to me how to do it using MASM assembly ??</p>
  
  <p>this is my code:</p>
  
  <pre><code> .686
   .model flat,stdcall
   .stack 4096
  
   include irvine32.inc
   include macros.inc
   include floatio.inc
  
   .data
   R REAL8 1.010101101
  
    .code
    main proc
  
     finit
     call ShowFPUStack
     fld R
     call ShowFPUStack
     frndint
     call ShowFPUStack
  
   exit
   main endp
   end main
  </code></pre>
  
  <p>and this is my FPU Stack </p>
  
  <pre><code>------ FPU Stack ------
  
  ------ FPU Stack ------
  ST(0): +1.0101011E+000
  
  ------ FPU Stack ------
  ST(0): +1.0000000E+000
  </code></pre>