[Scilab-Dev] Big literal integers for int64() and uint64()

Samuel Gougeon sgougeon at free.fr
Tue Oct 30 14:33:30 CET 2018


Le 30/10/2018 à 14:24, Samuel Gougeon a écrit :
> Hello,
>
> Le 30/10/2018 à 13:51, Clément David a écrit :
>>
>> Hello all,
>>
>> Nice implementation ! IMHO `double()` might also be extended to 
>> support a string,
>>
>
> The question is: What to do? With wich features?
> It would be a nice replacement of strtod(). IMO, it should in no way 
> duplicate it.
>
> But is it really a priority?
> There are already too many functions all doing rather the same thing, 
> and rather weakly:
> strtod(), msscanf(), evstr() (and still eval().. whose removal is not 
> yet merged <https://codereview.scilab.org/19797>).
>
> However, there are certainly priorities in matter of string 
> conversion. Noticeably,
> currently, there is no way to read imaginary parts of complex numbers
> as text, and convert them into numeric type.


csvTextScan() (another guy..) does it. It is definitely not emphasized 
in its description.
It has only a small not-illustrated example. But it does it.

Samuel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/dev/attachments/20181030/0c7dfc2a/attachment.htm>


More information about the dev mailing list