NVlabs / xmp

CUDA accelerated(X) Multi-Precision library
Other
87 stars 20 forks source link

Error in doc #3

Closed Bulat-Ziganshin closed 8 years ago

Bulat-Ziganshin commented 8 years ago

there is copy-paste error in example in https://github.com/NVlabs/xmp/blob/master/docs/xmp.docx

XMP_CHECK_ERROR(xmpIntegersImport(handle,base,N,limbs,-1,sizeof(uint32_t),0,0,b)); XMP_CHECK_ERROR(xmpIntegersImport(handle,exp,1,limbs,-1,sizeof(uint32_t),0,0,b)); XMP_CHECK_ERROR(xmpIntegersImport(handle,mod,1,limbs,-1,sizeof(uint32_t),0,0,b));

last parameter here should be b/e/m rather than b/b/b

luitjens commented 8 years ago

Thank you,

Fixed