OK it works sorry a thousand times

I missed a function and I had an overflow yet I have a lot to work with 
originally "Mike Cowlishaw" in c ++ ..... in my type functions
    
    
     `+` * (a, b: DecimalType): DecimalType =
       var status: uint32
       result = newDecimal ()
       mpd_qadd (result [], a [], b [], CTX_ADDR, addr status)
    
    
    Run

personally I did not use it like that I got myself and that's good because I 
would be more careful
    
    
    _qadd (a [], a [], b [], CTX_ADDR, addr status) 
    
    Run

my error

and me

/// arithmetic operation 
    
    
    Zdcml & Zdcml :: operator ++ (int)
    {
         ClearBufferDcml ();
         
         _STRING_ = string_format ("% d", 1);
         
         decNumberFromString (T_dcml, (char *) _ STRING_.c_str (), & T_set);
         
         decNumberAdd (_dcml, _dcml, T_dcml, & T_set);
         
         decNumberTrim (_dcml);
         return * this;
    }
    
    
    Run

OK it works sorry a thousand times

Reply via email to