Ch Standard Demos
 ISO C90 Standard Wide characters ISO C99 Standard C++ features Complex IEEE floating-point arithmetic Assumed-shape arrays Nested functions Interactive C statement execution Interactive command shell Shell Programming Safe Ch Ch applets String Type Adjustable array bounds Auto array bound checking Socket/Winsock POSIX Unix utilities for Windows Windows GTK+ X/Motif OpenGL Toolkits Demos CGI ODBC ChExcel Ch Professional Demos Computational array Plotting Numerical analysis C LAPACK functions
Ch is the only computing environment in existence that can perform numerical computing with consistent numerical results under the IEEE floating-point arithmetic in the entire real domain and complex domain using an extended complex plane for a Riemman sphere. Two complex metanumbers ComplexInf for complex infinity and ComplexNaN for complex-not-a-number are introduced. #include <stdio.h> #include <complex.h> int main() { double complex z; z = 1/0.0; printf("z = %f\n", z); z = sqrt(ComplexInf); printf("z = %f\n", z); z = exp(ComplexInf); printf("z = %f\n", z); return 0; }
The output is:

z = ComplexInf
z = ComplexInf
z = ComplexNaN
{"ft_lang_label":"__label__en","ft_lang_prob":0.74436665,"math_prob":0.9102113,"size":620,"snap":"2019-13-2019-22","text_gpt3_token_len":163,"char_repetition_ratio":0.17207792,"word_repetition_ratio":0.06382979,"special_character_ratio":0.2580645,"punctuation_ratio":0.13157895,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.98417455,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2019-03-22T01:49:33Z\",\"WARC-Record-ID\":\"<urn:uuid:5f0f8d75-f8a4-468e-a976-39d3fc1fda5d>\",\"Content-Length\":\"7242\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:19815c98-8cca-402d-b5c2-5093dec3a723>\",\"WARC-Concurrent-To\":\"<urn:uuid:4a4ae9de-022e-4fe4-b1c8-9a820d735c7b>\",\"WARC-IP-Address\":\"173.255.209.242\",\"WARC-Target-URI\":\"https://www.softintegration.com/demos/chstandard/complexinf.html\",\"WARC-Payload-Digest\":\"sha1:CG7SY6POD5OIWVSI27XKVR3YR644NBC5\",\"WARC-Block-Digest\":\"sha1:S5WWCQ4FU2NHPXUXYN75753JUBRDNBDK\",\"WARC-Identified-Payload-Type\":\"application/xhtml+xml\",\"warc_filename\":\"/cc_download/warc_2019/CC-MAIN-2019-13/CC-MAIN-2019-13_segments_1552912202589.68_warc_CC-MAIN-20190322014319-20190322040319-00371.warc.gz\"}"}