Discussion List Archives

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ddlm-group] Removing Octal,Hexadecimal and Binary as DDLm types

On 2018-02-20 01:03, Simon Westrip wrote:> _some_unknown_data_item 11\h> > could be interpreted as 11 followed by Greek eta if established> semantics are followed,> or the decimal integer 17 if  \h is to be interpreted as indicating> hexadecimal in this case> (bearing in mind that none of the documented semantics need be followed> in any case).
Oh, sorry, I did not follow discussion carefully enough.
Of course 11\h SHOULD NOT be Hex 11 ;) – no system in the world usesthat, totally confusing, and indeed clashes with CIF escape sequences.
A standard representation from libc is: 0x11 == 17 (decimal) ==0b_0001_0001 = 021 (octal).
The last (octal) representation is the most controversial, since in mosthuman texts leading zeroes are insignificant, but the 0x.... notation ispretty standard and unambiguous. This could be safely adopted as CIFnumber syntax.
Sincerely yours,Saulius
-- Dr. Saulius GražulisVilnius University Institute of Biotechnology, Saulėtekio al. 7LT-10257 Vilnius, Lietuva (Lithuania)fax: (+370-5)-2234367 / phone (office): (+370-5)-2234353mobile: (+370-684)-49802, (+370-614)-36366_______________________________________________ddlm-group mailing listddlm-group@iucr.orghttp://mailman.iucr.org/cgi-bin/mailman/listinfo/ddlm-group

Reply to: [list | sender only]
International Union of Crystallography

Scientific Union Member of the International Council for Science (admitted 1947). Member of CODATA, the ICSU Committee on Data. Member of ICSTI, the International Council for Scientific and Technical Information. Partner with UNESCO, the United Nations Educational, Scientific and Cultural Organization in the International Year of Crystallography 2014.

ICSU Scientific Freedom Policy

The IUCr observes the basic policy of non-discrimination and affirms the right and freedom of scientists to associate in international scientific activity without regard to such factors as ethnic origin, religion, citizenship, language, political stance, gender, sex or age, in accordance with the Statutes of the International Council for Science.