Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright

Rounding and Float to Integer Errors (Solved)

For general discussion related FlowStone

Rounding and Float to Integer Errors (Solved)

Postby boris » Mon Nov 15, 2010 9:17 pm

There appears to be a rounding error were a conversion from a float calculation that results is a whole number is then connected to an integer data element. The result of the float multiply is display as a whole number - which I believe is rounded up - but results in a different integer value.

Attached is the schematic that seems to not make sense other than it being a bug.

I think we need a rounding primitive to be able to control results.
Attachments
IntegerBug.fsm
Simple schematic
(258 Bytes) Downloaded 1388 times
Last edited by boris on Mon Nov 15, 2010 11:11 pm, edited 1 time in total.
boris
 
Posts: 2
Joined: Wed Jul 28, 2010 11:31 pm

Re: Rounding and Float to Integer Errors

Postby Exo » Mon Nov 15, 2010 11:00 pm

Hey and welcome boris :)

This is not a bug. The float is rounded up for display purposes only, the underlying float is unchanged.

If you go into options under "Advanced" there is an option to turn "display floats as 32bit binary representations" on.

Switch that option on for the true value.

Cheers ;)

Exo
Flowstone Guru. Blog and download site for Flowstone.
Best VST Plugins. Initial Audio.
Exo
 
Posts: 426
Joined: Wed Aug 04, 2010 8:58 pm
Location: UK

Re: Rounding and Float to Integer Errors

Postby boris » Mon Nov 15, 2010 11:10 pm

Ok Thanks
boris
 
Posts: 2
Joined: Wed Jul 28, 2010 11:31 pm


Return to General

Who is online

Users browsing this forum: No registered users and 128 guests