~ubuntu-branches/ubuntu/wily/julia/wily

« back to all changes in this revision

Viewing changes to base/float.jl

  • Committer: Package Import Robot
  • Author(s): Sébastien Villemot
  • Date: 2013-01-16 12:29:42 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20130116122942-x86e42akjq31repw
Tags: 0.0.0+20130107.gitd9656f41-1
* New upstream snashot
* No longer try to rebuild helpdb.jl.
   + debian/rules: remove helpdb.jl from build-arch rule
   + debian/control: move back python-sphinx to Build-Depends-Indep
* debian/copyright: reflect upstream changes
* Add Build-Conflicts on libatlas3-base (makes linalg tests fail)
* debian/rules: replace obsolete USE_DEBIAN makeflag by a list of
  USE_SYSTEM_* flags
* debian/rules: on non-x86 systems, use libm instead of openlibm
* dpkg-buildflags.patch: remove patch, applied upstream
* Refreshed other patches

Show diffs side-by-side

added added

removed removed

Lines of Context:
70
70
# TODO: Int128
71
71
 
72
72
# this is needed very early because it is used by Range and colon
73
 
floor(x::Float64) = ccall((:floor,:libopenlibm), Float64, (Float64,), x)
 
73
floor(x::Float64) = ccall((:floor, Base.libm_name), Float64, (Float64,), x)
74
74
 
75
75
iceil(x::FloatingPoint)  = itrunc(ceil(x))  # TODO: fast primitive for iceil
76
76
ifloor(x::FloatingPoint) = itrunc(floor(x)) # TOOD: fast primitive for ifloor