Giter Site home page Giter Site logo

Comments (8)

fktn-k avatar fktn-k commented on July 28, 2024 1

@ARessegetesStery
OK. I'm looking forward to the fruits.
Feel free to ask anything.
There are a lot of templates along the way to the conversions, so it may be hard to understand.

whether it is possible to read

someint: 1

with a float in c++. I guess this will make the library easier to use.

I like it. Reasonable and intuitive.
It's also close to the way primitives are handled in C++.

from fkyaml.

fktn-k avatar fktn-k commented on July 28, 2024 1

@ARessegetesStery
Thanks for the updates and sorry for your computer...
And no worries. I just wanted to help if you were being stucked somewhere due to this library.
So anyway, take your time!

there's no need to wait for my updates

Thanks for your concern, but honestly I just couldn't spare enough time for this project lol

from fkyaml.

fktn-k avatar fktn-k commented on July 28, 2024

@ARessegetesStery
Thanks for filing a issue.
I'll share what I've found while reproducing the issue.
Regarding the underflow check for floating point values, I've found a bug where the implementation mistakenly call std::min(), not std::lowest(), to get the minimum possible value of a target type.
So getting floating point values equal to/less than 0 will emit the same error.

from fkyaml.

ARessegetesStery avatar ARessegetesStery commented on July 28, 2024

@fktn-k Thanks for sharing the fix! I haven't looked into the source code and jumped to the conclusion lol.

from fkyaml.

fktn-k avatar fktn-k commented on July 28, 2024

@ARessegetesStery
Oh I stole the fun part, sorry. LOL
Actually, I couldn't have time to even reproduce the ingeter version of the bug.

I see you forked this repository, are you trying to fix it?
If so, that's very welcome.

from fkyaml.

ARessegetesStery avatar ARessegetesStery commented on July 28, 2024

@fktn-k Oh thanks for explaining - Glad to see your insights on the problem :)
Yeah I am planning to spend some time this weekend test this thoroughly and see if I can figure out a fix.
Also I am trying to see if this can be made more compatible, for example whether it is possible to read

someint: 1

with a float in c++. I guess this will make the library easier to use.

from fkyaml.

fktn-k avatar fktn-k commented on July 28, 2024

@ARessegetesStery
How does the investigation goes?
Maybe it's too complicated to handle in a single PR.
If so, we can separate the issue into a bugfix and improvements.
Like first just fixing the bug in conversions, and then adding improvements like you mentioned above.

from fkyaml.

ARessegetesStery avatar ARessegetesStery commented on July 28, 2024

@fktn-k
Sorry for the slow progresses - my computer somewhat broke last week and the new one is right on the way. Things should become much smoother after that.
Yep indeed I have opened issues for all features, separately, on my forked repo. If you want, I can also copy them here. For each fix I will open a separate pull request for clarity.
Also since github now has auto-sync functionalities for forked branches there's no need to wait for my updates to push your other commits to the main branch. I can sync the progress (and merge them if necessary) within a couple of clicks :)

from fkyaml.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.