[ The thread was getting too deep. ]
The third test of MSC.t is failing for me.
- Math-Int64-0.23
- ActivePerl build 1402
- Perl 5.14.2, 32 bit, threaded.
- Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 16.00.40219.01 for 80x86
t/MSC.t ................. 1/3
# Failed test 'uint64 to NV conversion 3'
# at t/MSC.t line 15.
# Looks like you failed 1 test of 3.
t/MSC.t ................. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/3 subtests
t/MSC.t (Wstat: 256 Tests: 3 Failed: 1)
Failed test: 3
Non-zero exit status: 1
I changed the test from ok to is tests to get more info:
t/MSC.t ................. 1/3
# Failed test 'uint64 to NV conversion 3'
# at t/MSC.t line 15.
# got: '1.83746864796716e+019'
# expected: '18374686479671623680'
# Looks like you failed 1 test of 3.
The thing is I can't see any different between the two by looking at them using sprintf or pack 'd'.
nv: 1.837468647967162400000000000000e+019
u: 1.837468647967162400000000000000e+019
nv: 43efe00000000000
u: 43efe00000000000
The warnings I get:
Int64.xs(256) : warning C4244: 'return' : conversion from 'NV' to 'int
+64_t', possible loss of data
Int64.xs(335) : warning C4244: 'return' : conversion from 'NV' to 'uin
+t64_t', possible loss of data
Int64.xs(345) : warning C4244: 'initializing' : conversion from 'int64
+_t' to 'IV', possible loss of data
Int64.xs(350) : warning C4244: 'initializing' : conversion from 'int64
+_t' to 'UV', possible loss of data
Int64.xs(354) : warning C4244: 'function' : conversion from 'int64_t'
+to 'const NV', possible loss of data
Int64.xs(360) : warning C4244: 'initializing' : conversion from 'uint6
+4_t' to 'UV', possible loss of data
Int64.xs(363) : warning C4244: 'function' : conversion from 'uint64_t'
+ to 'const NV', possible loss of data
Int64.xs(375) : warning C4244: 'initializing' : conversion from 'uint6
+4_t' to 'char', possible loss of data
Int64.xs(492) : warning C4244: 'function' : conversion from 'int64_t'
+to 'const IV', possible loss of data
Int64.xs(516) : warning C4244: 'function' : conversion from 'uint64_t'
+ to 'const UV', possible loss of data
Int64.xs(535) : warning C4244: '=' : conversion from 'int64_t' to 'cha
+r', possible loss of data
Int64.xs(553) : warning C4244: '=' : conversion from 'uint64_t' to 'ch
+ar', possible loss of data
Int64.xs(669) : warning C4244: 'function' : conversion from 'uint64_t'
+ to 'const IV', possible loss of data
Int64.xs(680) : warning C4244: 'function' : conversion from 'uint64_t'
+ to 'const UV', possible loss of data
Int64.xs(690) : warning C4244: 'function' : conversion from 'uint64_t'
+ to 'const IV', possible loss of data
Int64.xs(700) : warning C4244: 'function' : conversion from 'uint64_t'
+ to 'const UV', possible loss of data
Int64.xs(712) : warning C4244: 'function' : conversion from 'int64_t'
+to 'const IV', possible loss of data
Int64.xs(723) : warning C4244: 'function' : conversion from 'uint64_t'
+ to 'const IV', possible loss of data
Int64.c(1288) : warning C4101: 'rev' : unreferenced local variable
Int64.c(1287) : warning C4101: 'other' : unreferenced local variable
Int64.c(1317) : warning C4101: 'rev' : unreferenced local variable
Int64.c(1316) : warning C4101: 'other' : unreferenced local variable
Int64.c(1782) : warning C4101: 'rev' : unreferenced local variable
Int64.c(1811) : warning C4101: 'rev' : unreferenced local variable
Int64.c(2107) : warning C4101: 'rev' : unreferenced local variable
Int64.c(2106) : warning C4101: 'other' : unreferenced local variable
Int64.c(2133) : warning C4101: 'rev' : unreferenced local variable
Int64.c(2132) : warning C4101: 'other' : unreferenced local variable
Int64.c(2159) : warning C4101: 'rev' : unreferenced local variable
Int64.c(2158) : warning C4101: 'other' : unreferenced local variable
Int64.c(2185) : warning C4101: 'rev' : unreferenced local variable
Int64.c(2184) : warning C4101: 'other' : unreferenced local variable
Int64.c(2211) : warning C4101: 'rev' : unreferenced local variable
Int64.c(2210) : warning C4101: 'other' : unreferenced local variable
Int64.c(2237) : warning C4101: 'rev' : unreferenced local variable
Int64.c(2236) : warning C4101: 'other' : unreferenced local variable
Int64.c(2263) : warning C4101: 'rev' : unreferenced local variable
Int64.c(2262) : warning C4101: 'other' : unreferenced local variable
Int64.c(2289) : warning C4101: 'rev' : unreferenced local variable
Int64.c(2288) : warning C4101: 'other' : unreferenced local variable
Int64.c(2317) : warning C4101: 'rev' : unreferenced local variable
Int64.c(2316) : warning C4101: 'other' : unreferenced local variable
Int64.c(2763) : warning C4101: 'rev' : unreferenced local variable
Int64.c(2792) : warning C4101: 'rev' : unreferenced local variable
Int64.c(3088) : warning C4101: 'rev' : unreferenced local variable
Int64.c(3087) : warning C4101: 'other' : unreferenced local variable
Int64.c(3114) : warning C4101: 'rev' : unreferenced local variable
Int64.c(3113) : warning C4101: 'other' : unreferenced local variable
Int64.c(3140) : warning C4101: 'rev' : unreferenced local variable
Int64.c(3139) : warning C4101: 'other' : unreferenced local variable
Int64.c(3166) : warning C4101: 'rev' : unreferenced local variable
Int64.c(3165) : warning C4101: 'other' : unreferenced local variable
Int64.c(3192) : warning C4101: 'rev' : unreferenced local variable
Int64.c(3191) : warning C4101: 'other' : unreferenced local variable
Int64.c(3218) : warning C4101: 'rev' : unreferenced local variable
Int64.c(3217) : warning C4101: 'other' : unreferenced local variable
Int64.c(3244) : warning C4101: 'rev' : unreferenced local variable
Int64.c(3243) : warning C4101: 'other' : unreferenced local variable
...\int64.xs(170) : warning C4715: 'SvSI64' : not all control paths re
+turn a value
...\int64.xs(180) : warning C4715: 'SvSU64' : not all control paths re
+turn a value
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.