Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ os:
- linux
- osx
julia:
- 0.5
- 0.6
- nightly
notifications:
Expand Down
2 changes: 0 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
environment:
matrix:
- JULIA_URL: "https://julialang-s3.julialang.org/bin/winnt/x86/0.5/julia-0.5-latest-win32.exe"
- JULIA_URL: "https://julialang-s3.julialang.org/bin/winnt/x64/0.5/julia-0.5-latest-win64.exe"
- JULIA_URL: "https://julialang-s3.julialang.org/bin/winnt/x86/0.6/julia-0.6-latest-win32.exe"
- JULIA_URL: "https://julialang-s3.julialang.org/bin/winnt/x64/0.6/julia-0.6-latest-win64.exe"
- JULIA_URL: "https://julialangnightlies-s3.julialang.org/bin/winnt/x86/julia-latest-win32.exe"
Expand Down
2 changes: 1 addition & 1 deletion src/deprecations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Compat.@dep_vectorize_1arg Real ufixed16

## The next lines mimic the floating-point literal syntax "3.2f0"
# construction using a UInt, i.e., 0xccuf8
immutable NormedConstructor{T,f} end
struct NormedConstructor{T,f} end
function *{T,f}(n::Integer, ::NormedConstructor{T,f})
i = 8*sizeof(T)-f
io = IOBuffer()
Expand Down
2 changes: 1 addition & 1 deletion src/fixed.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# 32-bit fixed point; parameter `f` is the number of fraction bits
immutable Fixed{T <: Signed,f} <: FixedPoint{T, f}
struct Fixed{T <: Signed,f} <: FixedPoint{T, f}
i::T

# constructor for manipulating the representation;
Expand Down
2 changes: 1 addition & 1 deletion src/normed.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Normed{T,f} maps UInts from 0 to 2^f-1 to the range [0.0, 1.0]
# For example, Normed{UInt8,8} == N0f8 maps 0x00 to 0.0 and 0xff to 1.0

immutable Normed{T<:Unsigned,f} <: FixedPoint{T,f}
struct Normed{T<:Unsigned,f} <: FixedPoint{T,f}
i::T

(::Type{Normed{T, f}}){T, f}(i::Integer,_) = new{T, f}(i%T) # for setting by raw representation
Expand Down