Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Broken floats #70

Closed
DeFrenZ opened this issue Feb 26, 2014 · 4 comments
Closed

Broken floats #70

DeFrenZ opened this issue Feb 26, 2014 · 4 comments

Comments

@DeFrenZ
Copy link

DeFrenZ commented Feb 26, 2014

   _       _ _(_)_     |  A fresh approach to technical computing
  (_)     | (_) (_)    |  Documentation: http://docs.julialang.org
   _ _   _| |_  __ _   |  Type "help()" to list help topics
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 0.2.0 (2013-11-16 23:44 UTC)
 _/ |\__'_|_|_|\__'_|  |  Official http://julialang.org release
|__/                   |  x86_64-apple-darwin12.5.0

julia> Pkg.status()
Required packages:
 - GLFW                          0.0.0
 - GZip                          0.2.10
 - Gtk                           0.5.0
 - Homebrew                      0.0.4
 - ImageView                     0.0.13
 - Winston                       0.9.0
 - ZipFile                       0.2.0
Additional packages:
 - BinDeps                       0.2.12
 - Cairo                         0.2.12
 - Cartesian                     0.1.3
 - Color                         0.2.8
 - Images                        0.2.28
 - IniFile                       0.2.2
 - SIUnits                       0.0.1
 - TexExtensions                 0.0.1
 - Tk                            0.2.11
 - URIParser                     0.0.1
 - Zlib                          0.1.5

julia> using Gtk
Warning: Possible conflict in library symbol dtrtri_
Warning: Possible conflict in library symbol dgetri_
Warning: Possible conflict in library symbol dgetrf_
Dynamic session lookup supported but failed: launchd did not provide a socket path, verify that org.freedesktop.dbus-session.plist is loaded!

julia> 1.0
ERROR: syntax: invalid numeric constant 1.0

julia>

I suppose this is not normal at all...

@vtjnash
Copy link
Contributor

vtjnash commented Feb 26, 2014

Dup of #69

@tknopp
Copy link
Collaborator

tknopp commented Feb 27, 2014

changing the system language to US english should be a workaround for now (or calling the C function setlocale after using Gtk. This will be fixed in Julia itself.

@DeFrenZ
Copy link
Author

DeFrenZ commented Feb 27, 2014

I was following the issue in the main Git but I suppose it will be solved in 3.0 and I needed something right now :) thanks for the tip, ccall((:setlocale, "libc"), Ptr{Cchar}, (Cint, Ptr{Cchar}), 0, "en_US") after using Gtk works great for now ;)

@vtjnash
Copy link
Contributor

vtjnash commented Apr 12, 2014

fixed in Julia 0.3

@vtjnash vtjnash closed this as completed Apr 12, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants