I've just started using mpir.  Following the instructions, I built the 
library for my hw, then ran the tests to ensure everything was working.  
Apparently not everything is working.

Skipping all the lines that report success, I get:

Testing MPIR Static Library (lib_mpir_sandybridge_ivybridge) in 
> <x64\Release\> Configuration
>      Test skipped, replacing localeconv/nl_langinfo doesn't work
> mpn.mullowhigh : ERROR ( 255  )
>      mpn_mullow_n error 2
> mpz.powm : ERROR ( 255  )
>
> Incorrect results for operands:
>
> -3FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
>
> FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC00000000
> 7FFF0007807FFFBC0
>
> 1FFC1FFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000000000000000003FFFFFFFFFFFFFFFFFFFFC00000000000000000000000000000000003FFFFFFFFFFFFFFFFFFFFE00000000000000000000000
> mpz_powm result:
>
> C6A8C1B0E854E6AA2EF09C19A82F34468E1FFF0F6267128128A2C12CE4B32920E824B2F59A81F5699EA922D2E23895C7E58795B1EBEC62CB7862C08032829C289B430000000000000000
> reference result:
>
> 1C253258F98BC1B0E854E6AA2EF09C19A8211FF8EC9FFF0F62671284ADB6298CE4B32920E8247AA463FBF5699EA922D2E23895C7E58795B570FFCB2B7862C0803282800000000000000000000000
> mpz.powm_ui : ERROR ( 255  )
>
> test 16: Incorrect results for operands:
> -FFFFFFFFFFFFFFFFFC00000000000FFFFFFFFFFFFFFFFFFFFF80000
> 7F8003E01FE
> 3FFFFFFFFFFFFFFFFFFFFFFFFFFFC00000000000000000000000000000
> mpz_powm_ui result:
> 6D969AE0763CAD2AB098524EEEF90000000000000000
> reference result:
> 2AB098524EEEF96D969AE0763CAD000000000000000000000000000000
> 203 tests:
>         200 ran correctly
>         3 failed
>

My first assumption was that I had selected the wrong hardware.  But System 
Properties reports "Intel(R) Core(TM) i7-3630QM," which wikipedia 
<https://en.wikipedia.org/wiki/List_of_Intel_Core_i7_microprocessors#.22Ivy_Bridge_.28quad-core.29.22_.2822_nm.29>
 
tells me is Ivy Bridge.  It's a mobile chip if that matters?

My second guess was that this was a known problem, but if it is, my search 
failed to discover it.

I have some other questions, but obviously this should be resolved first.

Building with VS Community 2015 on Windows 8.1 x64 using mpir 3.0.0.

-- 
You received this message because you are subscribed to the Google Groups 
"mpir-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mpir-devel+unsubscr...@googlegroups.com.
To post to this group, send email to mpir-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/mpir-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to