Unauthorised users may be subject to prosecution.
Unauthorised access to this system is a criminal offence under Australian law (Federal Crimes Act 1914 Part VIA)
It is a criminal offence to:
(2) Damage, delete, alter or insert data without authority. -Penalty 10 years imprisonment.
User activity is monitored and recorded. Anyone using this system expressly consents to such monitoring and recording.

To protect your data, the CISO officer has suggested users to enable 2FA as soon as possible.
Currently 2.7% of users enabled 2FA.

### fix mistake in test

parent 471e8f22
 ... ... @@ -7,56 +7,56 @@ def within_err(res, exp, err=1e15): def test_double_add(): fnp = fncptr_from_c_script("test_double_add.c", "test_fnc", restype=ctypes.c_double) fnp, _ = fncptr_from_c_script("test_double_add.c", "test_fnc", restype=ctypes.c_double) assert fnp() == 5.859873 def test_double_sub(): fnp = fncptr_from_c_script("test_double_sub.c", "test_fnc", restype=ctypes.c_double) fnp, _ = fncptr_from_c_script("test_double_sub.c", "test_fnc", restype=ctypes.c_double) assert within_err(fnp(), 0.423313) def test_double_mul(): fnp = fncptr_from_c_script("test_double_mul.c", "test_fnc", restype=ctypes.c_double) fnp, _ = fncptr_from_c_script("test_double_mul.c", "test_fnc", restype=ctypes.c_double) assert fnp() == 8.53972942004 def test_double_div(): fnp = fncptr_from_c_script("test_double_div.c", "test_fnc", restype=ctypes.c_double) fnp, _ = fncptr_from_c_script("test_double_div.c", "test_fnc", restype=ctypes.c_double) assert fnp() == within_err(fnp, 1.1557282546316052) def test_double_ordered_eq(): fnp = fncptr_from_c_script("test_double_ordered_eq.c", "test_fnc") fnp, _ = fncptr_from_c_script("test_double_ordered_eq.c", "test_fnc") assert fnp() == 0 def test_double_ordered_ne(): fnp = fncptr_from_c_script("test_double_ordered_ne.c", "test_fnc") fnp, _ = fncptr_from_c_script("test_double_ordered_ne.c", "test_fnc") assert fnp() == 1 def test_double_ordered_lt(): fnp = fncptr_from_c_script("test_double_ordered_lt.c", "test_fnc") fnp, _ = fncptr_from_c_script("test_double_ordered_lt.c", "test_fnc") assert fnp() == 1 def test_double_ordered_le(): fnp = fncptr_from_c_script("test_double_ordered_le.c", "test_fnc") fnp, _ = fncptr_from_c_script("test_double_ordered_le.c", "test_fnc") assert fnp() == 1 def test_double_ordered_ge(): fnp = fncptr_from_c_script("test_double_ordered_ge.c", "test_fnc") fnp, _ = fncptr_from_c_script("test_double_ordered_ge.c", "test_fnc") assert fnp() == 1 def test_double_ordered_gt(): fnp = fncptr_from_c_script("test_double_ordered_gt.c", "test_fnc") fnp, _ = fncptr_from_c_script("test_double_ordered_gt.c", "test_fnc") assert fnp() == 1 def test_double_arg_pass(): fnp = fncptr_from_c_script("test_double_arg_pass.c", "test_fnc", fnp, _ = fncptr_from_c_script("test_double_arg_pass.c", "test_fnc", [ctypes.c_double, ctypes.c_double], ctypes.c_double) assert fnp(3.141593, 2.71828) == 5.859873
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
{"ft_lang_label":"__label__en","ft_lang_prob":0.60794127,"math_prob":0.6722975,"size":3166,"snap":"2022-27-2022-33","text_gpt3_token_len":986,"char_repetition_ratio":0.26786843,"word_repetition_ratio":0.05592105,"special_character_ratio":0.3243841,"punctuation_ratio":0.2647059,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.98735416,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2022-08-08T11:19:21Z\",\"WARC-Record-ID\":\"<urn:uuid:3e7b7ff7-e04c-49c1-b73a-0bac7d8dd3fd>\",\"Content-Length\":\"205745\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:4bb5e30e-9e31-431f-bc56-5bb7d4c831a2>\",\"WARC-Concurrent-To\":\"<urn:uuid:56913103-eef2-4c03-9bc0-74b73f592574>\",\"WARC-IP-Address\":\"150.203.161.91\",\"WARC-Target-URI\":\"https://gitlab.anu.edu.au/mu/mu-impl-fast/-/commit/c075dec189af0c5d35be0651a18227e23b37e6d5\",\"WARC-Payload-Digest\":\"sha1:UH43T2A6GLOMUZ4T22KYJE2KBZA5JD5Q\",\"WARC-Block-Digest\":\"sha1:3VTEINJODIVUEH35HWOCYZV4FUEVUMNH\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2022/CC-MAIN-2022-33/CC-MAIN-2022-33_segments_1659882570793.14_warc_CC-MAIN-20220808092125-20220808122125-00402.warc.gz\"}"}