Questions tagged [float-point]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
33 views

Function not giving expected output Eos smart contract

My contract .Cpp part void mainloan::adduwr(name acc_name, double interest, uint64_t loan_amount ) { print("Adding underwriter", acc_name); // require_auth( _self ); uwr_table.emplace(get_self(...
0
votes
1answer
104 views

Convert String to double (flaot32/float64) in EOSIO [duplicate]

serialize support for float types is not added in flutter and thats why i have to come to this way,so if anyone have any working example for this,ill be really thankful for that. I have tried this ...
0
votes
2answers
117 views

Calling Action on EOS blockchain with Flutter App throwing Exeception Unknown type : float32 or float64

Hey I'm working on a Eosio blockchain dapp, so for front end I'm using flutter. We have a package Eosdart for connecting flutter to eos blockchain. Everything was good till here, but the problem ...
0
votes
2answers
898 views

Convert string to float or double

I am trying to convert a string to a float or double, however none of the standard C/C++ methods seem to work. I have tried: atof strtof strtod sscanf In each case, I get an error message when ...
1
vote
1answer
72 views

How all the block producers get a consistent database for float point processing?

In the EOS smart contract, it support the float point computation, such as calculating the voting weight. And I think that, for different operation systems and different compilers, the float point ...