@@ -1346,6 +1346,7 @@ end
1346
1346
@deprecate srand (filename:: AbstractString , n:: Integer = 4 ) srand (read! (filename, Array {UInt32} (Int (n))))
1347
1347
@deprecate MersenneTwister (filename:: AbstractString ) srand (MersenneTwister (0 ), read! (filename, Array {UInt32} (Int (4 ))))
1348
1348
1349
+
1349
1350
# PR #21974
1350
1351
@deprecate versioninfo (verbose:: Bool ) versioninfo (verbose= verbose)
1351
1352
@deprecate versioninfo (io:: IO , verbose:: Bool ) versioninfo (io, verbose= verbose)
@@ -1645,6 +1646,22 @@ end
1645
1646
# PR #23187
1646
1647
@deprecate cpad (s, n:: Integer , p= " " ) rpad (lpad (s, div (n+ strwidth (s), 2 ), p), n, p) false
1647
1648
1649
+ # PR #22088
1650
+ function hex2num (s:: AbstractString )
1651
+ depwarn (" hex2num(s) is deprecated. Use reinterpret(Float64, parse(UInt64, s, 16)) instead." , :hex2num )
1652
+ if length (s) <= 4
1653
+ return reinterpret (Float16, parse (UInt16, s, 16 ))
1654
+ end
1655
+ if length (s) <= 8
1656
+ return reinterpret (Float32, parse (UInt32, s, 16 ))
1657
+ end
1658
+ return reinterpret (Float64, parse (UInt64, s, 16 ))
1659
+ end
1660
+
1661
+ @deprecate num2hex (x:: Union{Float16,Float32,Float64} ) hex (reintepret (Unsigned, x), sizeof (x)* 2 )
1662
+ @deprecate num2hex (n:: Integer ) hex (n, sizeof (n)* 2 )
1663
+
1664
+
1648
1665
# END 0.7 deprecations
1649
1666
1650
1667
# BEGIN 1.0 deprecations
2 commit comments
nanosoldier commentedon Aug 11, 2017
Executing the daily benchmark build, I will reply here when finished:
@nanosoldier
runbenchmarks(ALL, isdaily = true)
nanosoldier commentedon Aug 11, 2017
Your benchmark job has completed - possible performance regressions were detected. A full report can be found here. cc @ararslan