-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for ASN.1 REAL type #4
Comments
Anybody made some improvement in a fork? |
@JanFellner In you do need ASN.1 REAL type you can you predecessor of the ASN1.js - father of ASN1.js. It is on C++, btw. Since I left PeculiarVetures team do not think anybody will append REAL in ASN1.js. |
I did fork the library and i am trying to see if i get AsnReal implemented based on the way AsnInteger is coded. |
@YuryStrozhevsky i am progressing concerning the real encoding. I read the X690 documentation as well as your "ASN.1 by simple words" which is pretty understandable (thanks for this document 😉) I am trying to connect asn1js to messages created and parsed by the snacc compiler. As you seem to be pretty long in the asn1 topic you may also have humbled over it. The X690 states to use two complements values for the exponent, I see that asn1js is providing methods to encode to and decode from two complement values. I am kind of struggeling here as:
Maybe i am missing the puzzle piece that completes my picture. (For completeness the FeatureBranch i am working on to get it "real": |
For those looking for the missing real encoding decoding take a look at respectively |
The REAL type is not used all that commonly but the library does not currently support it, it should. REALs are a machine representation of a real number.
The text was updated successfully, but these errors were encountered: