diff --git a/Posit to Floating Point Converter/julia_convert_Posit-to-FP.sh b/Posit to Floating Point Converter/julia_convert_Posit-to-FP.sh deleted file mode 100644 index dbd4532..0000000 --- a/Posit to Floating Point Converter/julia_convert_Posit-to-FP.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/bash - -if ARGS[1] == "--help" - println("Usgae: julia julia_convert_Posit-to-FP.sh N es") -else - using SigmoidNumbers - N = parse(ARGS[1]) - es = parse(ARGS[2]) - PS=Posit{N,es} - f=open("Posit32_in.txt") - lines = readlines(f) - for l = 1:65536 - x="0x"lines[l] - y=parse(x) - P=PS(y) - F=Float32(P) - println(num2hex(F)) - end -end - -