MD5: 59bab8f71f8c096cd3f72cd73851515d
Rename it to: Sublime Text
Make it executable with: chmod u+x Sublime\ Text
[00:00:00] Build started | |
[00:00:00] git clone -q https://github.com/JuliaIO/JLD.jl.git C:\projects\jld-jl-28dqq | |
[00:00:02] git fetch -q origin +refs/pull/145/merge: | |
[00:00:02] git checkout -qf FETCH_HEAD | |
[00:00:02] Running Install scripts | |
[00:00:02] if ($env:APPVEYOR_PULL_REQUEST_NUMBER -and $env:APPVEYOR_BUILD_NUMBER -ne ((Invoke-RestMethod ` https://ci.appveyor.com/api/projects/$env:APPVEYOR_ACCOUNT_NAME/$env:APPVEYOR_PROJECT_SLUG/history?recordsNumber=50).builds | ` Where-Object pullRequestId -eq $env:APPVEYOR_PULL_REQUEST_NUMBER)[0].buildNumber) { ` throw "There are newer queued builds for this pull request, failing early." } | |
[00:00:03] (new-object net.webclient).DownloadFile($("http://s3.amazonaws.com/"+$env:JULIAVERSION), "C:\projects\julia-binary.exe") | |
[00:00:05] C:\projects\julia-binary.exe /S /D=C:\projects\julia | |
[00:00:21] IF EXIST .git\shallow (git fetch --unshallow) | |
[00:00:21] C:\projects\julia\bin\julia --startup-file=yes -e "versioninfo(); Pkg.clone(pwd(), \"JLD\"); Pkg.build(\"JLD\")" |
using BenchmarkTools | |
using Base: sign_mask, exponent_mask | |
typealias IEEEFloat Union{Float16,Float32,Float64} | |
_isinf{T<:IEEEFloat}(x::T) = (reinterpret(Unsigned, x) & ~sign_mask(T)) == exponent_mask(T) | |
_isfinite{T<:IEEEFloat}(x::T) = (reinterpret(Unsigned, x) & exponent_mask(T)) != exponent_mask(T) | |
_isnan{T<:IEEEFloat}(x::T) = (reinterpret(Unsigned, x) & ~sign_mask(T)) > exponent_mask(T) | |
julia> @benchmark isinf(2.0) |