Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - jbk

Pages: [1]
1
BCX Accessories / Re: IDE for BCX ?
« on: October 30, 2020, 03:23:36 PM »
thank you Robert and James  :)
JFE works good but I also would like to try BcxAdp when it's released

2
BCX Accessories / IDE for BCX ?
« on: October 30, 2020, 01:43:02 PM »
I know that BCX comes with a fine editor named JFE, does anyone use other IDE's with BCX ?
I am interested for an alternative because JFE's author is nowhere to be found and the latest release is from around 2010

3
Questions & Answers / Re: MinGW's
« on: October 26, 2020, 04:05:07 PM »
thank you  :)

4
Questions & Answers / Re: MinGW's
« on: October 26, 2020, 03:30:44 PM »
since this thread is about Mingw, may I ask MrBcx if you would post the Mingw bat file?
I am inexperienced in this

5
Bug Reports / Re: $FILL issue
« on: October 12, 2020, 08:12:11 AM »

6
Off-Topic Discussions / Re: visual studio 2019, how to use fpu?
« on: August 24, 2020, 04:07:18 PM »
I used Pari/gp http://pari.math.u-bordeaux.fr/
s=0;x=10;y=10.345;for(i=0,10000,s=s+((cos( 20 ) *  sin( 5  )  ^ 3  * 21 * log(  123 ) / 2.5) * x * y));s
-15048593.399945682225822638730604824231

7
Off-Topic Discussions / Re: visual studio 2019, how to use fpu?
« on: August 24, 2020, 02:01:17 PM »
I think the reason one result was more accurate was because of optimization, with -O2 gcc will sometimes remove loops entirely and therefore in this case be more accurate.
I did try the Intel C compiler but it made no difference

8
Off-Topic Discussions / Re: visual studio 2019, how to use fpu?
« on: August 23, 2020, 01:37:25 PM »
hello MrBcx
yes, I also tried /arch:IA32 but it made no difference, however, Intel C may have an option to use the fpu
in case you didn't know, you can get a free license  https://software.intel.com/content/www/us/en/develop/tools/system-studio/choose-download.html

9
Off-Topic Discussions / visual studio 2019, how to use fpu?
« on: August 23, 2020, 09:30:07 AM »
does anyone know if there's a compiler option to use the fpu and not sse?
it seems that sse is used by default and that seems to be the only option, irritating >:(
the reason is that I would like to build the muParser dll using the fpu because errors accumulate a lot if using sse, try this
https://github.com/beltoforion/muparser
Code: [Select]
DIM x  AS DOUBLE
DIM y  AS DOUBLE
DIM EvalResult  AS DOUBLE
DIM sum  AS DOUBLE
DIM i AS INTEGER
sum=0
    for i = 0 to 10000
        x=10
        y=10.345
        EvalResult = (cos( 20 ) *  sin( 5  )  ^ 3  * 21 * log(  123 ) / 2.5) * x * y
        sum = sum + EvalResult
    next
    PRINT sum
sse  = -15048593.39994392
fpu  = -15048593.39994568
true = -15048593.3999456822

10
Announcements / Re: BCX Help Version 7.5.2, August 6 2020
« on: August 07, 2020, 04:03:35 AM »
@Robert
had to lookup percontation point and found other unusual punctuation marks https://www.mentalfloss.com/article/12710/13-little-known-punctuation-marks-we-should-be-using
I see the inverted question mark being used in Spanish but not in English

11
thanks MrBcx  :)

12
Getting Started with BCX / newbie here, need help in compiling to 64-bit
« on: February 02, 2020, 06:25:21 PM »
after some trial an error I managed to compile to 32-bit, but how do I compile for 64-bit?
specifically this web app here https://bcxbasiccoders.com/smf/index.php?topic=94.msg340#msg340
I have Mingw32 and Mingw64 (msys2), PellesC x64 and lcc x64 installed
I edited PW.bat replacing x86 with x64 but I get the error "BCX_SlideShow.c(443): error #2206: No support for inline assembly code on this target machine."
PW.bat modified
Code: [Select]
setlocal
@rem Created with Bldbat v.3.0.0 for PellesC (GUI)
@ECHO OFF
IF NOT EXIST %1.c GOTO usage
CALL "C:\Program Files\PellesC\Bin\povars64.bat"
IF EXIST %1.res GOTO res
IF NOT EXIST "res\%~1.rc" GOTO nores
ECHO Compiling resources.....
"C:\Program Files\PellesC\Bin\porc.exe" "res\%~1.rc" /i res /fo "%~1.res"
:res
IF EXIST %1.res SET PRES="%~1.res"
:nores
ECHO Compiling "%~1.c"..........
"C:\Program Files\PellesC\Bin\pocc.exe" /W0 /Ot /Go /Gd /Ze /Zx /Tx64-coff "%~1.c"
ECHO Linking ................
"C:\Program Files\PellesC\Bin\polink.exe" /release /machine:x64 /subsystem:windows "%~1.obj" %PRES% %2 %3 %4 %5 %6 %7 %8 %9 /out:"%~1.exe"
ECHO Finished!
IF EXIST "%~1.obj" del "%~1.obj"
GOTO done
:usage
ECHO **************************************************************
ECHO  Usage:  PW.BAT MainFile  ExtraFile1 ExtraFile2 ExtraFile3
ECHO  Note:   ExtraFiles can be .libs, .res , .obj
ECHO          Compile a GUI mode program with Pelle's C.
ECHO **************************************************************
:done
endlocal

13
Announcements / Re: BCX Help Version 7.3.4 is available for download
« on: November 25, 2019, 04:41:52 PM »
Thank you MrBcx and Robert  :)

Pages: [1]