The following warnings occurred:
Warning [2] Undefined array key 0 - Line: 1677 - File: showthread.php PHP 8.2.31 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/showthread.php 1677 errorHandler->error_callback
/showthread.php 916 buildtree




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
fixed is broken (*solved*)
#1
Code:
CLS #include <input.bas> dim num AS FIXED value$=input(8) cls print value$ num=VAL(value$) print num print num/2 print ln (num)

The last line - ln(num) breaks it. Without that line it compiles, but gives nonsensical answers. I think this is the reason why my fSin benchmark isn't compiling. fSin works with fixed point numbers.

There's an issue with input / strings as well though:

Code:
CLS #include <input.bas> dim num AS FIXED value$=input(8) cls print value$

Compiles, but gave an out of screen error for me.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)