This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://github.com/rutgers-apl/rlibm-32/blob/44560acbd2ee22242989bdac259ad3665fa85d06/source/float/exp.c | |
include("constants.jl") | |
function rlibm_exp_ported(x::Float32) | |
# u is fx.x in the original code | |
u = reinterpret(UInt32, x) | |
# Take care of special cases | |
if (0x42b17218 <= u <= 0xb3000000) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Cancel | |
on: | |
push: | |
branches: | |
- main | |
- master | |
pull_request: | |
types: [opened, synchronize, reopened, ready_for_review] | |
jobs: | |
cancel: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
❯ ./timeout.jl ps | |
PID TTY TIME CMD | |
697 ttys000 0:00.16 -zsh | |
1132 ttys001 0:00.09 /bin/zsh --login | |
3115 ttys002 0:00.09 /bin/zsh -l | |
3632 ttys003 0:00.32 /bin/zsh -l | |
11816 ttys003 0:00.32 /Users/eph/.asdf/installs/julia/1.7.1/bin/julia --color=yes --startup-file=no -O0 --compile=min ./timeout.jl ps | |
❯ ./timeout.jl sleep 3 && echo "done" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
julia> include("consumer.jl"); | |
Python started | |
Python done | |
Julia done: got hello world |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
julia> include("consumer.jl"); | |
Julia done: got Arrow.Table with 4 rows, 3 columns, and schema: | |
:f0 Union{Missing, Int64} | |
:f1 Union{Missing, String} | |
:f2 Union{Missing, Bool} |
OlderNewer