Closed rikysya closed 3 years ago
@rikysya thank you for the PR. Is there test data I can try it with?
@kazarena Here is some test document with large number to normalise with following options:
Format = "application/n-quads"
Algorithm = "URDNA2015"
{
"@context": {
"instructions": "http://rdf.data-vocabulary.org/#instructions",
"step": {
"@id": "http://rdf.data-vocabulary.org/#step",
"@type": "xsd:integer"
},
"description": "http://rdf.data-vocabulary.org/#description",
"xsd": "http://www.w3.org/2001/XMLSchema#"
},
"instructions": [
{
"step": 2505620425799233800,
"description": "Crush lime juice, mint and sugar together in glass."
}
]
}
@kazarena Do you need anything else from me to proceed with this PR?
@rikysya no, thank you. Will test it later today.
Looks good. Thanks for the PR! Merging now...
Casting float64 to int causing integer overflow on 32 bit systems for large numbers. Cast to int64 explicitly to make conversion architecture independent.