STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Public Attributes | List of all members
_Mult_prec< _Ty, _Ax, _Cx, _Mx > Class Template Reference

Public Member Functions

 _Mult_prec (_Ty _Val=0)
 
_Ty operator() ()
 

Public Attributes

_Ty _Prev
 

Constructor & Destructor Documentation

template<class _Ty , _Max_type _Ax, _Max_type _Cx, _Max_type _Mx>
_Mult_prec< _Ty, _Ax, _Cx, _Mx >::_Mult_prec ( _Ty  _Val = 0)
inline
375  : _Prev(_Val)
376  { // construct
377  }
_In_ int _Val
Definition: vcruntime_string.h:62
_Ty _Prev
Definition: random:389

Member Function Documentation

template<class _Ty , _Max_type _Ax, _Max_type _Cx, _Max_type _Mx>
_Ty _Mult_prec< _Ty, _Ax, _Cx, _Mx >::operator() ( )
inline
380  { // return next value
381  _MP_arr _Wx;
382  _MP_Mul(_Wx, _Prev, _Ax);
383  _MP_Add(_Wx, _Cx);
384  _MP_Rem(_Wx, _Mx);
385  _Prev = _MP_Get(_Wx);
386  return (_Prev);
387  }
_Max_type _MP_arr[_MP_len]
Definition: random:331
_CRTIMP2_PURE void __CLRCALL_PURE_OR_CDECL _MP_Mul(_MP_arr, _Max_type, _Max_type)
_CRTIMP2_PURE _Max_type __CLRCALL_PURE_OR_CDECL _MP_Get(_MP_arr)
_CRTIMP2_PURE void __CLRCALL_PURE_OR_CDECL _MP_Rem(_MP_arr, _Max_type)
_Ty _Prev
Definition: random:389
_CRTIMP2_PURE void __CLRCALL_PURE_OR_CDECL _MP_Add(_MP_arr, _Max_type)

Member Data Documentation

template<class _Ty , _Max_type _Ax, _Max_type _Cx, _Max_type _Mx>
_Ty _Mult_prec< _Ty, _Ax, _Cx, _Mx >::_Prev

The documentation for this class was generated from the following file: